Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ENV_NAME = 'Breakout-ram-v0'
# Get the environment
env = gym.make(ENV_NAME)
np.random.seed(33)
env.seed(33)
# 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.