Skip to content
Snippets Groups Projects
Commit 7af7a923 authored by MasterScrat's avatar MasterScrat
Browse files

Merge remote-tracking branch 'origin/master'

parents c8714275 d2a49fc5
No related branches found
No related tags found
No related merge requests found
...@@ -614,6 +614,8 @@ class FlatlandRemoteEvaluationService: ...@@ -614,6 +614,8 @@ class FlatlandRemoteEvaluationService:
time_diff = time.time() - time_start time_diff = time.time() - time_start
self.update_running_stats("internal_env_step_time", time_diff) self.update_running_stats("internal_env_step_time", time_diff)
self.current_step += 1
cumulative_reward = sum(all_rewards.values()) cumulative_reward = sum(all_rewards.values())
self.simulation_rewards[-1] += cumulative_reward self.simulation_rewards[-1] += cumulative_reward
self.simulation_steps[-1] += 1 self.simulation_steps[-1] += 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment