Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Created Jul 21, 2019
Embed
What would you like to do?
enviroment.reset()
frames = []
for _ in range(NUMBER_OF_FRAMES):
enviroment.step(enviroment.action_space.sample())
frame = img_processor.resize_and_grayscale(enviroment.ale.getScreenRGB())
frames.append(frame)
img_processor.plot_frames(frames, gray=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment