Commit ec38bf46 authored by Zach Dwiel's avatar Zach Dwiel Committed by GitHub
Browse files

remove unnecessary initialization of variable resized_screen

parent 184440ff
......@@ -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