Skip to content

Commit

Permalink
debug benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbouteiller committed Mar 30, 2023
1 parent 7fc88de commit 8d9689c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmrl/networking.py
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ def run_env_benchmark(self, nb_steps, test=False):
for _ in range(nb_steps):
obs, rew, terminated, truncated, info = self.step(obs=obs, test=test, collect_samples=False)
if terminated or truncated:
obs, info = self.reset(collect_samples=False)
break
print_with_timestamp(f"Benchmark results:\n{self.env.benchmarks()}")

def send_and_clear_buffer(self):
Expand Down

0 comments on commit 8d9689c

Please sign in to comment.