resume_training
Resume a previous Unity ML-Agents training run by specifying its run ID. Automatically reloads saved configuration and blocks until training is ready, so you can continue without restarting.
Instructions
Resume a previously stopped/completed training run.
If config_path is not provided, reads the saved configuration.yaml from the previous run. By default, blocks until ready (same as force_training).
Args: run_id: The run_id to resume. config_path: Config file path (auto-detected from previous run if omitted). num_envs: Number of parallel Unity environment instances. no_graphics: Disable graphics rendering. torch_device: PyTorch device. time_scale: Unity time scale multiplier. wait: Block until ready (default true). Editor mode: waits for 'press Play'. Batch mode: waits for connection. wait_timeout: Max seconds to wait when wait=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | ||
| run_id | Yes | ||
| num_envs | No | ||
| time_scale | No | ||
| config_path | No | ||
| no_graphics | No | ||
| torch_device | No | ||
| wait_timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||