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

[Loggers] Logging compatibility #11

Merged
merged 13 commits into from
Sep 13, 2023
Merged

[Loggers] Logging compatibility #11

merged 13 commits into from
Sep 13, 2023

Conversation

matteobettini
Copy link
Collaborator

@matteobettini matteobettini commented Sep 13, 2023

This PR introduces loggers for experiments.

Logging

BenchMARL is compatible with the TorchRL loggers.
A list of logger names can be provided in the experiment config.
Example of available options are: wandb, csv, mflow, tensorboard or any other option available in TorchRL. You can specify the loggers
in the yaml config files or in the script arguments like so:

python hydra_run.py "experiment.loggers=[wandb]"

Additionally, you can specify a create_json argument which instructs the trainer to output a .json file in the
format specified by marl-eval.

Signed-off-by: Matteo Bettini <[email protected]>
Signed-off-by: Matteo Bettini <[email protected]>
Signed-off-by: Matteo Bettini <[email protected]>
Signed-off-by: Matteo Bettini <[email protected]>
Signed-off-by: Matteo Bettini <[email protected]>
Signed-off-by: Matteo Bettini <[email protected]>
Signed-off-by: Matteo Bettini <[email protected]>
Signed-off-by: Matteo Bettini <[email protected]>
Signed-off-by: Matteo Bettini <[email protected]>
Signed-off-by: Matteo Bettini <[email protected]>
Signed-off-by: Matteo Bettini <[email protected]>
Signed-off-by: Matteo Bettini <[email protected]>
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 13, 2023
Signed-off-by: Matteo Bettini <[email protected]>
@matteobettini matteobettini merged commit 040b949 into main Sep 13, 2023
4 checks passed
@matteobettini matteobettini deleted the envs_better_collection branch September 13, 2023 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants