I followed the installation process for Omni Isaac Gym GitHub - NVIDIA-Omniverse/OmniIsaacGymEnvs: Reinforcement Learning Environments for Omniverse Isaac Gym for docker with the last image.
However, when I run /isaac-sim/python.sh scripts/rlgames_train.py headless=True task=Cartpole or task=Ant, I get the following error:
2024-01-15 23:23:28 [137,345ms] [Warning] [omni.usd] Warning: in _ReportErrors at line 2890 of /buildAgent/work/ac88d7d902b57417/USD/pxr/usd/usd/stage.cpp -- In </World/envs/env_0/Cartpole>: Could not open asset @http://omniverse-content-produ
ction.s3-us-west-2.amazonaws.com/Assets/Isaac/2023.1.1/Isaac/Robots/Cartpole/cartpole.usd@ for reference introduced by @anon:0x119afa00:World0.usd@</World/envs/env_0/Cartpole>. (recomposing stage on stage @anon:0x119afa00:World0.usd@ <0x119b80
80>)
2024-01-15 23:23:29 [138,386ms] [Warning] [omni.usd] Warning: in _ReportErrors at line 2890 of /buildAgent/work/ac88d7d902b57417/USD/pxr/usd/usd/stage.cpp -- In </World/defaultGroundPlane>: Could not open asset @http://omniverse-content-produc
tion.s3-us-west-2.amazonaws.com/Assets/Isaac/2023.1.1/Isaac/Environments/Grid/default_environment.usd@ for reference introduced by @anon:0x119afa00:World0.usd@</World/defaultGroundPlane>. (recomposing stage on stage @anon:0x119afa00:World0.usd
@ <0x119b8080>)
2024-01-15 23:23:29 [138,387ms] [Error] [omni.kit.app._impl] [py stderr]: Error executing job with overrides: ['task=Cartpole', 'headless=True']
Error executing job with overrides: ['task=Cartpole', 'headless=True']
2024-01-15 23:23:29 [138,494ms] [Error] [omni.kit.app._impl] [py stderr]: Traceback (most recent call last):
Traceback (most recent call last):
2024-01-15 23:23:29 [138,494ms] [Error] [omni.kit.app._impl] [py stderr]:
2024-01-15 23:23:29 [138,494ms] [Error] [omni.kit.app._impl] [py stderr]: File "/workspace/omniisaacgymenvs/omniisaacgymenvs/scripts/rlgames_train.py", line 145, in parse_hydra_configs
task = initialize_task(cfg_dict, env)
File "/workspace/omniisaacgymenvs/omniisaacgymenvs/scripts/rlgames_train.py", line 145, in parse_hydra_configs
task = initialize_task(cfg_dict, env)
2024-01-15 23:23:29 [138,494ms] [Error] [omni.kit.app._impl] [py stderr]:
2024-01-15 23:23:29 [138,494ms] [Error] [omni.kit.app._impl] [py stderr]: File "/workspace/omniisaacgymenvs/omniisaacgymenvs/utils/task_util.py", line 103, in initialize_task
env.set_task(
File "/workspace/omniisaacgymenvs/omniisaacgymenvs/utils/task_util.py", line 103, in initialize_task
env.set_task(
2024-01-15 23:23:29 [138,494ms] [Error] [omni.kit.app._impl] [py stderr]:
2024-01-15 23:23:29 [138,494ms] [Error] [omni.kit.app._impl] [py stderr]: File "/workspace/omniisaacgymenvs/omniisaacgymenvs/envs/vec_env_rlgames.py", line 47, in set_task
super().set_task(task, backend, sim_params, init_sim, rendering_dt)
File "/workspace/omniisaacgymenvs/omniisaacgymenvs/envs/vec_env_rlgames.py", line 47, in set_task
super().set_task(task, backend, sim_params, init_sim, rendering_dt)
2024-01-15 23:23:29 [138,494ms] [Error] [omni.kit.app._impl] [py stderr]:
2024-01-15 23:23:29 [138,494ms] [Error] [omni.kit.app._impl] [py stderr]: File "/isaac-sim/exts/omni.isaac.gym/omni/isaac/gym/vec_env/vec_env_base.py", line 129, in set_task
self._world.reset()
File "/isaac-sim/exts/omni.isaac.gym/omni/isaac/gym/vec_env/vec_env_base.py", line 129, in set_task
self._world.reset()
2024-01-15 23:23:29 [138,494ms] [Error] [omni.kit.app._impl] [py stderr]:
2024-01-15 23:23:29 [138,495ms] [Error] [omni.kit.app._impl] [py stderr]: File "/isaac-sim/exts/omni.isaac.core/omni/isaac/core/world/world.py", line 401, in reset
task.set_up_scene(self.scene)
File "/isaac-sim/exts/omni.isaac.core/omni/isaac/core/world/world.py", line 401, in reset
task.set_up_scene(self.scene)
2024-01-15 23:23:29 [138,495ms] [Error] [omni.kit.app._impl] [py stderr]:
2024-01-15 23:23:29 [138,495ms] [Error] [omni.kit.app._impl] [py stderr]: File "/workspace/omniisaacgymenvs/omniisaacgymenvs/tasks/cartpole.py", line 66, in set_up_scene
super().set_up_scene(scene)
File "/workspace/omniisaacgymenvs/omniisaacgymenvs/tasks/cartpole.py", line 66, in set_up_scene
super().set_up_scene(scene)
2024-01-15 23:23:29 [138,495ms] [Error] [omni.kit.app._impl] [py stderr]:
2024-01-15 23:23:29 [138,495ms] [Error] [omni.kit.app._impl] [py stderr]: File "/workspace/omniisaacgymenvs/omniisaacgymenvs/tasks/base/rl_task.py", line 181, in set_up_scene
scene.add_default_ground_plane(prim_path=self._ground_plane_path)
File "/workspace/omniisaacgymenvs/omniisaacgymenvs/tasks/base/rl_task.py", line 181, in set_up_scene
scene.add_default_ground_plane(prim_path=self._ground_plane_path)
2024-01-15 23:23:29 [138,495ms] [Error] [omni.kit.app._impl] [py stderr]:
2024-01-15 23:23:29 [138,495ms] [Error] [omni.kit.app._impl] [py stderr]: File "/isaac-sim/exts/omni.isaac.core/omni/isaac/core/scenes/scene.py", line 239, in add_default_ground_plane
plane = GroundPlane(prim_path=prim_path, name=name, z_position=z_position, physics_material=physics_material)
File "/isaac-sim/exts/omni.isaac.core/omni/isaac/core/scenes/scene.py", line 239, in add_default_ground_plane
plane = GroundPlane(prim_path=prim_path, name=name, z_position=z_position, physics_material=physics_material)
2024-01-15 23:23:29 [138,495ms] [Error] [omni.kit.app._impl] [py stderr]:
2024-01-15 23:23:29 [138,495ms] [Error] [omni.kit.app._impl] [py stderr]: File "/isaac-sim/exts/omni.isaac.core/omni/isaac/core/objects/ground_plane.py", line 111, in __init__
collision_prim_path = get_prim_path(
File "/isaac-sim/exts/omni.isaac.core/omni/isaac/core/objects/ground_plane.py", line 111, in __init__
collision_prim_path = get_prim_path(
2024-01-15 23:23:29 [138,495ms] [Error] [omni.kit.app._impl] [py stderr]:
2024-01-15 23:23:29 [138,495ms] [Error] [omni.kit.app._impl] [py stderr]: File "/isaac-sim/exts/omni.isaac.core/omni/isaac/core/utils/prims.py", line 628, in get_prim_path
return prim.GetPath()
File "/isaac-sim/exts/omni.isaac.core/omni/isaac/core/utils/prims.py", line 628, in get_prim_path
return prim.GetPath()
2024-01-15 23:23:29 [138,495ms] [Error] [omni.kit.app._impl] [py stderr]:
2024-01-15 23:23:29 [138,495ms] [Error] [omni.kit.app._impl] [py stderr]: AttributeError: 'NoneType' object has no attribute 'GetPath'
AttributeError: 'NoneType' object has no attribute 'GetPath'
2024-01-15 23:23:29 [138,495ms] [Error] [omni.kit.app._impl] [py stderr]:
2024-01-15 23:23:29 [138,495ms] [Error] [omni.kit.app._impl] [py stderr]:
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
2024-01-15 23:23:29 [138,699ms] [Warning] [omni.stageupdate.plugin] Deprecated: direct use of IStageUpdate callbacks is deprecated. Use IStageUpdate::getStageUpdate instead.
2024-01-15 23:23:29 [138,699ms] [Warning] [carb.audio.context] 1 contexts were leaked
2024-01-15 23:23:29 [138,753ms] [Warning] [carb] Recursive unloadAllPlugins() detected!
2024-01-15 23:23:29 [138,756ms] [Warning] [omni.core.ITypeFactory] Module /isaac-sim/kit/exts/omni.activity.core/bin/libomni.activity.core.plugin.so remained loaded after unload request.
There was an error running python
Thanks,
Maxence