D4RL icon indicating copy to clipboard operation
D4RL copied to clipboard

I can't use maze environments

Open joseluperez1999 opened this issue 3 years ago • 2 comments

Hi i'm trying to use maze2d-umaze-v1 dataset but i have the following error:

Traceback (most recent call last): File "test.py", line 20, in env = gym.make('maze2d-umaze-v1') File "C:\Users\user\miniconda3\envs\d3rlpyEnv2\lib\site-packages\gym\envs\registration.py", line 184, in make return registry.make(id, **kwargs) File "C:\Users\user\miniconda3\envs\d3rlpyEnv2\lib\site-packages\gym\envs\registration.py", line 106, in make env = spec.make(kwargs) File "C:\Users\user\miniconda3\envs\d3rlpyEnv2\lib\site-packages\gym\envs\registration.py", line 76, in make env = cls(_kwargs) File "C:\Users\user\miniconda3\envs\d3rlpyEnv2\lib\site-packages\d4rl\pointmaze\maze_model.py", line 175, in init mujoco_env.MujocoEnv.init(self, model_path=f.name, frame_skip=1) File "C:\Users\user\miniconda3\envs\d3rlpyEnv2\lib\site-packages\gym\envs\mujoco\mujoco_env.py", line 54, in init self.model = mujoco_py.load_model_from_path(fullpath) File "cymj.pyx", line 175, in mujoco_py.cymj.load_model_from_path Exception: Failed to load XML file: C:\Users\user\AppData\Local\Temp\tmp6wt_ahnc.xml. mj_loadXML error: b'XML parse error at line 0, column 0:\nFailed to open file\n'

Solutions?

joseluperez1999 avatar Jan 11 '22 11:01 joseluperez1999

Same problem and i can't use antmaze too.Have any solve now?

Super1ce avatar Jan 15 '22 07:01 Super1ce

I have same problem too.Is there any solution?

bear-power avatar Dec 25 '23 04:12 bear-power