Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return results when the algorithms finish #173

Merged
merged 1 commit into from
Aug 13, 2023

Conversation

hccz95
Copy link
Contributor

@hccz95 hccz95 commented Aug 9, 2023

I have made some minor adjustments to the existing code. These changes do not alter any current logic or produce any side effects. The only purpose of these modifications is to allow run_cc.py, as well as run_il and run_vd, to return the results after the algorithm's execution.
The returning results provides users with additional information like:

  1. log directory: results.trials[0].logdir
  2. best checkpoint directory: results._checkpoints[0]['checkpoint_manager']._best_checkpoints[0].value.value
  3. newest checkpoint directory: results._checkpoints[0]['checkpoint_manager'].newest_checkpoint.value
  4. and etc.

@Theohhhu Theohhhu self-requested a review August 9, 2023 23:10
@Theohhhu Theohhhu self-assigned this Aug 9, 2023
@Theohhhu Theohhhu merged commit 921b72b into Replicable-MARL:master Aug 13, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants