Add env_id to log messages while uploading

This commit is contained in:
Greg Brockman
2016-04-28 07:37:32 -07:00
parent a5d71bb554
commit 98461ff8d8
2 changed files with 30 additions and 25 deletions

View File

@@ -18,6 +18,10 @@ if __name__ == '__main__':
logger = logging.getLogger()
logger.setLevel(logging.INFO)
outdir = '/tmp/random-agent-results'
gym.upload(outdir, algorithm_id='random')
raise"hi"
env = gym.make('CartPole-v0')
agent = RandomAgent(env.action_space)