Commit 0778e9f1 authored by Szymon Sidor's avatar Szymon Sidor Committed by GitHub
Browse files

Merge pull request #28 from zach-nervana/patch-1

remove unnecessary initialization of variable resized_screen
parents 59c7887e ec38bf46
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment