embodichain.learning.rl.train#
Overview#
Training entry points and command-line helpers for launching RL experiments.
Functions
cli()Command-line interface for RL training.
Parse command line arguments.
train_from_config(config_path[, distributed])Run training from a config file path.
Functions:
|
Command-line interface for RL training. |
Parse command line arguments. |
|
|
Run training from a config file path. |
- embodichain.learning.rl.train.cli()[source]#
Command-line interface for RL training.
Parses CLI arguments and launches training from a config file.
Task packages are discovered (and init hooks executed) before training so that task environments registered in separate packages (e.g.
embodichain_tasks) are available tobuild_env. This mirrors therun_envCLI.- Return type:
None
- embodichain.learning.rl.train.train_from_config(config_path, distributed=None)[source]#
Run training from a config file path.
- Parameters:
config_path (
str) – Path to the training config file (.json, .yaml, or .yml).distributed (
bool|None) – If True, run multi-GPU distributed training. If None, use trainer.distributed from config.