Update lerobot/scripts/train.py
Co-authored-by: Simon Alibert <75076266+aliberts@users.noreply.github.com>
This commit is contained in:
parent
d6abce38eb
commit
752147c5af
|
@ -422,6 +422,7 @@ def train(cfg: DictConfig, out_dir: str | None = None, job_name: str | None = No
|
|||
|
||||
logging.info("End of online training")
|
||||
|
||||
if cfg.training.eval_freq > 0:
|
||||
eval_env.close()
|
||||
online_training_env.close()
|
||||
|
||||
|
|
Loading…
Reference in New Issue