Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Created July 20, 2019 10:38
Show Gist options
  • Save NMZivkovic/1e22af203d8df4f4281de1c2ec290ea1 to your computer and use it in GitHub Desktop.
Save NMZivkovic/1e22af203d8df4f4281de1c2ec290ea1 to your computer and use it in GitHub Desktop.
optimizer = Adam(learning_rate=0.01)
state = enviroment.reset()
agent = Agent(enviroment, optimizer, state.shape)
batch_size = 32
num_of_episodes = 1000
timesteps_per_episode = 1000
agent.q_network.summary()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment