From 54c592983d36e2f7184a55c9951d4572ffdd53d8 Mon Sep 17 00:00:00 2001 From: Matteo Bettini Date: Mon, 9 Sep 2024 21:00:32 +0200 Subject: [PATCH] add examples --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 68acd265..0feb4a96 100644 --- a/README.md +++ b/README.md @@ -469,6 +469,15 @@ python benchmarl/run.py task=vmas/balance algorithm=mappo experiment.max_n_iters [![Example](https://img.shields.io/badge/Example-blue.svg)](examples/checkpointing/reload_experiment.py) + +There are also ways to **resume** and **evaluate** hydra experiments directly from the file +```bash +python benchmarl/evaluate.py ../outputs/2024-09-09/20-39-31/mappo_balance_mlp__cd977b69_24_09_09-20_39_31/checkpoints/checkpoint_100.pt +``` +```bash +python benchmarl/resume.py ../outputs/2024-09-09/20-39-31/mappo_balance_mlp__cd977b69_24_09_09-20_39_31/checkpoints/checkpoint_100.pt +``` + ### Callbacks Experiments optionally take a list of [`Callback`](benchmarl/experiment/callback.py) which have several methods