Toni-SM / skrl

Modular reinforcement learning library (on PyTorch and JAX) with support for NVIDIA Isaac Gym, Omniverse Isaac Gym and Isaac Lab
https://skrl.readthedocs.io/
MIT License
443 stars 43 forks source link

No module named omni.isaac.contrib_envs and omni.isaac.orbit_envs #145

Closed mrsbCN closed 1 week ago

mrsbCN commented 2 months ago

Description

I am using the latest orbit with skrl1.1.0. And I am trying to run example codes provide in you docs(like torch_ant_ppo.py ), But I got No module named omni.isaac.contrib_envs. After search the commit on orbit, I find that they have Renames Gym Envs related extensions to Tasks . So maybe we should also use this under load_isaac_orbit_env. Or even change the function name?

   # import orbit extensions
    import omni.isaac.contrib_tasks  # type: ignore
    import omni.isaac.orbit_tasks  # type: ignore
    from omni.isaac.orbit_tasks.utils import parse_env_cfg  # type: ignore

What skrl version are you using?

1.0.0

What ML framework/library version are you using?

pytorch 2.0.1

Additional system information

3.10.14

Toni-SM commented 1 week ago

Hi @mrsbCN

Now that Orbit has been unified with OIGE in Isaac Lab and skrl 1.2.0 has been released, this bug no longer exists.