isaaclab
SKRL runner for Isaac Lab tasks.
函数:
| 名称 | 描述 |
|---|---|
parse_args |
Build the CLI argument parser. |
run |
Run training or evaluation for an Isaac Lab task. |
parse_args
parse_args() -> argparse.ArgumentParser
Build the CLI argument parser.
返回:
| 类型 | 描述 |
|---|---|
ArgumentParser
|
argparse.ArgumentParser: Configured argument parser. |
run
run(task_name: str, model_cls: type, agent_cls: type, agent_cfg: Any, memory_cls: type, memory_cfg: dict, trainer_cls: type, trainer_cfg: dict, export_jit: bool = False, export_onnx: bool = False)
Run training or evaluation for an Isaac Lab task.
参数:
| 名称 | 类型 | 描述 | 默认 |
|---|---|---|---|
|
str
|
Isaac Lab task name. |
必需 |
|
type
|
Policy model class. |
必需 |
|
type
|
Agent class. |
必需 |
|
Any
|
Agent configuration object. |
必需 |
|
type
|
Memory class. |
必需 |
|
dict
|
Memory configuration. |
必需 |
|
type
|
Trainer class. |
必需 |
|
dict
|
Trainer configuration. |
必需 |
|
bool
|
Whether to export JIT policy. |
False
|
|
bool
|
Whether to export ONNX policy. |
False
|