ZiwenZhuang / parkour

[CoRL 2023] Robot Parkour Learning

Home Page:https://robot-parkour.github.io

Repository from Github https://github.comZiwenZhuang/parkourRepository from Github https://github.comZiwenZhuang/parkour

Run error

1242713693 opened this issue · comments

commented

I use the command "python3 legged_gym/scripts/train.py --headless --task a1_distill

"After that, the terminal reports an error: KeyError: 'climb'

File "legged_gym/scripts/train.py", line 49, in <module>
train(args)
File "legged_gym/scripts/train.py", line 43, in train
env, env_cfg = task_registry.make_env(name=args.task, args=args)
File "/home/noetic/parkour/legged_gym/legged_gym/utils/task_registry.py", line 99, in make_env
env = task_class( cfg=env_cfg,
File "/home/noetic/parkour/legged_gym/legged_gym/envs/base/legged_robot_field.py", line 20, in init
super().init(cfg, sim_params, physics_engine, sim_device, headless)
File "/home/noetic/parkour/legged_gym/legged_gym/envs/base/legged_robot.py", line 72, in init
super().init(self.cfg, sim_params, physics_engine, sim_device, headless)
File "/home/noetic/parkour/legged_gym/legged_gym/envs/base/base_task.py", line 84, in init
self.create_sim()
File "/home/noetic/parkour/legged_gym/legged_gym/envs/base/legged_robot.py", line 238, in create_sim
self._create_terrain()
File "/home/noetic/parkour/legged_gym/legged_gym/envs/base/legged_robot_field.py", line 632, in _create_terrain
self.terrain.add_terrain_to_sim(self.gym, self.sim, self.device)
File "/home/noetic/parkour/legged_gym/legged_gym/utils/terrain/barrier_track.py", line 614, in add_terrain_to_sim
starting_height_px = self.add_track_to_sim(
File "/home/noetic/parkour/legged_gym/legged_gym/utils/terrain/barrier_track.py", line 555, in add_track_to_sim
obstacle_id = self.track_options_id_dict[obstacle_name]
KeyError: 'climb'

I hope to get your help, thank you