Skip to content

Instantly share code, notes, and snippets.

@holmdk
Created July 22, 2020 11:58
Show Gist options
  • Save holmdk/6943ed451f1e383748c01d4c8b48d8e9 to your computer and use it in GitHub Desktop.
Save holmdk/6943ed451f1e383748c01d4c8b48d8e9 to your computer and use it in GitHub Desktop.
if __name__ == '__main__':
gin.parse_config(dqn_config, skip_unknown=False)
# train our runner
dqn_runner = run_experiment.create_runner(DQN_PATH, schedule='continuous_train')
print('Will train DQN agent, please be patient, may be a while...')
dqn_runner.run_experiment()
print('Done training!')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment