Don't update progbar twice
This commit is contained in:
parent
a3a4e448b7
commit
1a64c0e3cf
|
@ -349,7 +349,6 @@ def eval_policy(
|
||||||
progbar.set_postfix(
|
progbar.set_postfix(
|
||||||
{"running_success_rate": f"{np.mean(all_successes[:n_episodes]).item() * 100:.1f}%"}
|
{"running_success_rate": f"{np.mean(all_successes[:n_episodes]).item() * 100:.1f}%"}
|
||||||
)
|
)
|
||||||
progbar.update()
|
|
||||||
|
|
||||||
# Wait till all video rendering threads are done.
|
# Wait till all video rendering threads are done.
|
||||||
for thread in threads:
|
for thread in threads:
|
||||||
|
|
Loading…
Reference in New Issue