Don't update progbar twice

This commit is contained in:
Alexander Soare 2024-05-03 18:18:58 +01:00
parent a3a4e448b7
commit 1a64c0e3cf
1 changed files with 0 additions and 1 deletions

View File

@ -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: