Skip to content

执行./unitree_rl_lab.sh -t --task Unitree-G1-29dof-Velocity,报下面的错误 #126

@zialululu-del

Description

@zialululu-del

Error executing job with overrides: []
Traceback (most recent call last):
File "/home/luzeyi/IsaacLab/source/isaaclab_tasks/isaaclab_tasks/utils/hydra.py", line 100, in hydra_main
func(env_cfg, agent_cfg, *args, **kwargs)
File "/home/luzeyi/unitree_rl_lab/scripts/rsl_rl/train.py", line 184, in main
runner = OnPolicyRunner(env, agent_cfg.to_dict(), log_dir=log_dir, device=agent_cfg.device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/luzeyi/miniconda3/envs/env_isaaclab/lib/python3.11/site-packages/rsl_rl/runners/on_policy_runner.py", line 40, in init
self.alg = alg_class.construct_algorithm(obs, self.env, self.cfg, self.device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/luzeyi/miniconda3/envs/env_isaaclab/lib/python3.11/site-packages/rsl_rl/algorithms/ppo.py", line 477, in construct_algorithm
actor_class: type[MLPModel] = resolve_callable(cfg["actor"].pop("class_name")) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'class_name'

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions