isaaclab
SKRL runner for Isaac Lab tasks.
Functions:
| Name | Description |
|---|---|
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.
Returns:
| Type | Description |
|---|---|
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.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
Isaac Lab task name. |
required |
|
type
|
Policy model class. |
required |
|
type
|
Agent class. |
required |
|
Any
|
Agent configuration object. |
required |
|
type
|
Memory class. |
required |
|
dict
|
Memory configuration. |
required |
|
type
|
Trainer class. |
required |
|
dict
|
Trainer configuration. |
required |
|
bool
|
Whether to export JIT policy. |
False
|
|
bool
|
Whether to export ONNX policy. |
False
|