remove unnecessary initialization of variable resized_screen

This commit is contained in:
Zach Dwiel
2017-06-09 08:53:10 -04:00
committed by GitHub
parent 184440ffd3
commit ec38bf460e

View File

@@ -130,7 +130,6 @@ class ProcessFrame84(gym.ObservationWrapper):
@staticmethod
def process(frame):
resized_screen = None
if frame.size == 210 * 160 * 3:
img = np.reshape(frame, [210, 160, 3]).astype(np.float32)
elif frame.size == 250 * 160 * 3: