Stop seeding in monitor / uploading seeds to scoreboard

This commit is contained in:
Jie Tang
2016-10-31 22:20:02 -07:00
parent a62bba3bff
commit 71bb5f8563
5 changed files with 9 additions and 29 deletions

View File

@@ -41,7 +41,8 @@ class LivePlot(object):
if __name__ == '__main__':
env = gym.make('CartPole-v0')
outdir = '/tmp/random-agent-results'
env.monitor.start(outdir, force=True, seed=0)
env.seed(0)
env.monitor.start(outdir, force=True)
# You may optionally include a LivePlot so that you can see
# how your agent is performing. Use plotter.plot() to update