Skip to content

Commit

Permalink
amend
Browse files Browse the repository at this point in the history
  • Loading branch information
matteobettini committed Jul 9, 2024
1 parent c37938e commit c2e725f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion benchmarl/experiment/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,10 @@ def _collection_loop(self):
# Evaluation
if (
self.config.evaluation
and (self.total_frames % self.config.evaluation_interval == 0)
and (
self.total_frames % self.config.evaluation_interval == 0
or self.n_iters_performed == 0
)
and (len(self.config.loggers) or self.config.create_json)
):
self._evaluation_loop()
Expand Down

0 comments on commit c2e725f

Please sign in to comment.