Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
ENV_NAME = 'Breakout-ram-v0'
# Get the environment
env = gym.make(ENV_NAME)
# Extract the number of actions available in Breakout, i.e. left and right
nb_actions = env.action_space.n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.