Skip to content

Commit

Permalink
evaluate
Browse files Browse the repository at this point in the history
  • Loading branch information
matteobettini committed Sep 9, 2024
1 parent bf55ee5 commit 97aae08
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions benchmarl/experiment/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,11 @@ def run(self):
self.close()
raise err

def evaluate(self):
"""Run just the evaluation loop once."""
self._evaluation_loop()
self.logger.commit()

def _collection_loop(self):
pbar = tqdm(
initial=self.n_iters_performed,
Expand Down

0 comments on commit 97aae08

Please sign in to comment.