From 0b0868153e2d457a9fd66040057b1217d228e30d Mon Sep 17 00:00:00 2001 From: Matteo Bettini Date: Fri, 6 Oct 2023 10:53:22 +0100 Subject: [PATCH] README update Signed-off-by: Matteo Bettini --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e0fc1637..7fb8949a 100644 --- a/README.md +++ b/README.md @@ -388,12 +388,12 @@ where the script is launched. The output folder will contain a folder for each experiment with the corresponding experiment name. Their checkpoints will be stored in a `"checkpoints"` folder within the experiment folder. ```bash -python benchmarl/run.py task=vmas/balance algorithm=mappo experiment.n_iters=3 experiment.checkpoint_interval=1 experiment.save_folder="/my/folder" +python benchmarl/run.py task=vmas/balance algorithm=mappo experiment.max_n_iters=3 experiment.checkpoint_interval=1 experiment.save_folder="/my/folder" ``` To load from a checkpoint, pass the absolute checkpoint file name to `experiment.restore_file`. ```bash -python benchmarl/run.py task=vmas/balance algorithm=mappo experiment.n_iters=6 experiment.restore_file="/my/folder/checkpoint/checkpoint_03.pt" +python benchmarl/run.py task=vmas/balance algorithm=mappo experiment.max_n_iters=6 experiment.restore_file="/my/folder/checkpoint/checkpoint_03.pt" ``` [![Example](https://img.shields.io/badge/Example-blue.svg)](examples/checkpointing/reload_experiment.py)