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

Unknown wrapper typew when using IsaacGymEnvs #190

Closed
Panda-Shawn opened this issue Aug 20, 2024 · 2 comments
Closed

Unknown wrapper typew when using IsaacGymEnvs #190

Panda-Shawn opened this issue Aug 20, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Panda-Shawn
Copy link

Description

When I run the example files provided by the [official document] (https://skrl.readthedocs.io/en/latest/intro/examples.html#:~:text=py%0Atorch_bidexhands_shadow_hand_over_mappo.py-,NVIDIA%20Isaac%20Gym%20preview,-%C2%B6), a value error comes as follows.

Traceback (most recent call last):
  File "skrl/example_ant.py", line 60, in <module>
    env = wrap_env(env)
  File "/home/lzixuan/miniconda3/envs/dexgrasp/lib/python3.8/site-packages/skrl/envs/wrappers/torch/__init__.py", line 154, in wrap_env
    raise ValueError(f"Unknown wrapper type: {wrapper}")
ValueError: Unknown wrapper type: ['isaacgymenvs.tasks.base.vec_task.VecTask']
Segmentation fault (core dumped)

What skrl version are you using?

1.2.0

What ML framework/library version are you using?

PyTorch

Additional system information

Python 3.8, Ubuntu 20.04.6

@Panda-Shawn Panda-Shawn added the bug Something isn't working label Aug 20, 2024
@Toni-SM
Copy link
Owner

Toni-SM commented Aug 20, 2024

Hi @Panda-Shawn

This issue is solved in a separate branch as indicated in #170 (comment).
Meanwhile you can specify the wrapper type using the wrapper argument:

env = wrap_env(env, wrapper="isaacgym-preview4")

@Toni-SM
Copy link
Owner

Toni-SM commented Sep 15, 2024

@Toni-SM Toni-SM closed this as completed Sep 15, 2024
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