Add resume training (#205)

Co-authored-by: Remi <re.cadene@gmail.com>
这个提交包含在:
Alexander Soare
2024-05-28 12:04:23 +01:00
提交者 GitHub
父节点 7ec76ee235
当前提交 e3b9f1c19b
共有 15 个文件被更改,包括 486 次插入 和 191 次删除

查看文件

@ -165,7 +165,7 @@ Note: here we use regular syntax for providing CLI arguments to a Python script,
As a concrete example, this becomes particularly handy when you have a folder with training outputs, and would like to re-run the training. For example, say you previously ran the training script with one of the earlier commands and have `outputs/train/my_experiment/checkpoints/pretrained_model/config.yaml`. This `config.yaml` file will have the full set of configuration parameters within it. To run the training with the same configuration again, do:
```bash
python lerobot/scripts/train.py --config-dir outputs/train/my_experiment/checkpoints/pretrained_model --config-name config
python lerobot/scripts/train.py --config-dir outputs/train/my_experiment/checkpoints/last/pretrained_model --config-name config
```
Note that you may still use the regular syntax for config parameter overrides (eg: by adding `training.offline_steps=200000`).