Created
February 20, 2020 08:53
-
-
Save vivekpadia70/184795b627002aa5ad9bad69792218e0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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