We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc1e53f commit 4968c77Copy full SHA for 4968c77
src/ppo_with_pytorch.py
@@ -349,12 +349,12 @@ def progress(num_steps, metrics):
349
eval_sps.append(metrics['speed/eval_sps'])
350
train_sps.append(metrics['speed/sps'])
351
352
- plt.xlim([0, 30_000_000])
353
- plt.ylim([0, 6000])
354
- plt.xlabel('# environment steps')
355
- plt.ylabel('reward per episode')
356
- plt.plot(xdata, ydata)
357
- plt.show()
+ # plt.xlim([0, 30_000_000])
+ # plt.ylim([0, 6_000])
+ # plt.xlabel('# environment steps')
+ # plt.ylabel('reward per episode')
+ # plt.plot(xdata, ydata)
+ # plt.show()
358
359
agent, env = train(progress_fn=progress)
360
0 commit comments