unilab.training.backend_adapter.BackendAdapter

class unilab.training.backend_adapter.BackendAdapter[source]

Bases: object

Build env/play overrides from the final composed config.

Parameters:

Methods

__init__(cfg, *, root_dir[, algo_name, ...])

build_play_env_cfg_override()

Build play-mode overrides from an optional backend-agnostic play profile.

build_task_env_cfg_override()

Build env_cfg_override from the resolved reward + env sections.

__init__(cfg, *, root_dir, algo_name=None, scene_materializer=<function materialize_scene_visual_override>)[source]
Parameters:
build_task_env_cfg_override()[source]

Build env_cfg_override from the resolved reward + env sections.

Return type:

dict[str, Any]

build_play_env_cfg_override()[source]

Build play-mode overrides from an optional backend-agnostic play profile.

Return type:

dict[str, Any]