跳转至

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.

参数:

名称 类型 描述 默认

task_name

str

Isaac Lab task name.

必需

model_cls

type

Policy model class.

必需

agent_cls

type

Agent class.

必需

agent_cfg

Any

Agent configuration object.

必需

memory_cls

type

Memory class.

必需

memory_cfg

dict

Memory configuration.

必需

trainer_cls

type

Trainer class.

必需

trainer_cfg

dict

Trainer configuration.

必需

export_jit

bool

Whether to export JIT policy.

False

export_onnx

bool

Whether to export ONNX policy.

False