Skip to content

Commit

Permalink
quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DenSumy committed Nov 30, 2024
1 parent 6612eaf commit 81f4570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rl_games/common/a2c_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def set_eval(self):
if self.epochs_between_resets > 0:
if self.epoch_num % self.epochs_between_resets == 0:
self.reset_envs()
self.init_current_rewards()
self.init_current_rewards(self.num_agents * self.num_actors, (self.num_agents * self.num_actors, self.value_size))
print(f"Forcing env reset after {self.epoch_num} epochs")


Expand Down

0 comments on commit 81f4570

Please sign in to comment.