Skip to content

'obs_groups' must contain the 'policy' key #50

Description

@light-years-run

when i run: python legged_lab/scripts/train.py --task=g1_flat --headless --logger=tensorboard --num_envs=64

Traceback (most recent call last):
File "/home/wlb/work/LeggedLab/legged_lab/scripts/train.py", line 101, in
train()
File "/home/wlb/work/LeggedLab/legged_lab/scripts/train.py", line 85, in train
runner = OnPolicyRunner(env, agent_cfg.to_dict(), log_dir=log_dir, device=agent_cfg.device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wlb/miniconda3/envs/isaaclab/lib/python3.11/site-packages/rsl_rl/runners/on_policy_runner.py", line 45, in init
self.cfg["obs_groups"] = resolve_obs_groups(obs, self.cfg["obs_groups"], default_sets)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wlb/miniconda3/envs/isaaclab/lib/python3.11/site-packages/rsl_rl/utils/utils.py", line 252, in resolve_obs_groups
raise ValueError(
ValueError: The observation configuration dictionary 'obs_groups' must contain the 'policy' key. Found keys: []

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions