Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: Task with name: h1 was not registered #2

Closed
fanyahao1 opened this issue Mar 19, 2024 · 1 comment
Closed

ValueError: Task with name: h1 was not registered #2

fanyahao1 opened this issue Mar 19, 2024 · 1 comment

Comments

@fanyahao1
Copy link

你好,我在用命令行python legged_gym/scripts/train.py --task=h1 --headless运行rl示例程序时出现了以下错误:

Traceback (most recent call last):
  File "legged_gym/scripts/train.py", line 22, in <module>
    train(args)
  File "legged_gym/scripts/train.py", line 15, in train
    env, env_cfg = task_registry.make_env(name=args.task, args=args)
  File "/root/parkour/legged_gym/legged_gym/utils/task_registry.py", line 89, in make_env
    raise ValueError(f"Task with name: {name} was not registered")
ValueError: Task with name: h1 was not registered

在用命令行python legged_gym/scripts/train.py --task=go2 --headless运行时是没有问题的。

我查询了__init__.py,发现go2和h1都进行了task_registry,请问这是什么原因?

@fanyahao1
Copy link
Author

fanyahao1 commented May 9, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant