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

Hello, I want to load a ball or a door object in the legged gym with task a1 #55

Open
XiaoWZENG opened this issue Dec 6, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@XiaoWZENG
Copy link

Describe the bug
I want to load a ball or a door object in the legged gym with task a1, but always meet with the problem "an illegal memory access was encountered".

The whole problem shows as follow:
Traceback (most recent call last):
File "legged_gym/scripts/train.py", line 21, in
train(args)
File "legged_gym/scripts/train.py", line 15, in train
ppo_runner, train_cfg = task_registry.make_alg_runner(env=env, name=args.task, args=args)
File "/home/zxw/下载/IsaacGym_Preview_4_Package/legged_gym/legged_gym/utils/task_registry.py", line 147, in make_alg_runner
runner = OnPolicyRunner(env, train_cfg_dict, log_dir, device=args.rl_device)
File "/home/zxw/JD/parkour/rsl_rl/rsl_rl/runners/on_policy_runner.py", line 81, in init
_, _ = self.env.reset()
File "/home/zxw/下载/IsaacGym_Preview_4_Package/legged_gym/legged_gym/envs/base/base_task.py", line 84, in reset
self.reset_idx(torch.arange(self.num_envs, device=self.device))
File "/home/zxw/下载/IsaacGym_Preview_4_Package/legged_gym/legged_gym/envs/base/legged_robot.py", line 128, in reset_idx
self._reset_root_states(env_ids)
File "/home/zxw/下载/IsaacGym_Preview_4_Package/legged_gym/legged_gym/envs/base/legged_robot.py", line 390, in _reset_root_states
self.root_states[env_ids] = self.base_init_state
RuntimeError: CUDA error: an illegal memory access was encountered
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

Could you provide a simple demo? Thanks a lot!

Best~

@XiaoWZENG XiaoWZENG added the bug Something isn't working label Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants