Closed rs545837 closed 10 months ago
Hi @rs545837 what's the full error you're getting with traceback? Can you also paste which version of MuJoCo/MJX you're using?
Hey @btaba, it's mujoco==3.0.0 mujoco_mjx==3.0.0
Traceback (most recent call last):
File "/Users/rohansharma03/Desktop/SCALER_Mujoco/SCALER_XML/RL_Training/file2.py", line 455, in <module>
env = envs.get_environment(env_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/brax/envs/__init__.py", line 63, in get_environment
return _envs[env_name](**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/rohansharma03/Desktop/SCALER_Mujoco/SCALER_XML/RL_Training/file2.py", line 120, in __init__
super().__init__(mj_model=mj_model, **kwargs)
File "/Users/rohansharma03/Desktop/SCALER_Mujoco/SCALER_XML/RL_Training/file1.py", line 70, in __init__
self.sys = mjx.device_put(mj_model)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/mujoco/mjx/_src/device.py", line 186, in device_put
_validate(value) # type: ignore
^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/mujoco/mjx/_src/device.py", line 120, in _validate
raise NotImplementedError(f'{unsupported_typs} not implemented.')
NotImplementedError: {2} not implemented.
Hey @rs545837 , can you try the latest versions 3.1.1. I suspect the issue may be fixed with the latest versions
Yup, thanks @btaba, it seems it got resolved in the latest version. My bad that I forgot about the version update.
This problem is also discussed in the issue #1142. I have been facing same error i.e.
NotImplementedError: {2} not implemented.
but due to presence of an equality constraint in my xml file. I don't see anything about equality constraint in the unsupported table of Feature Parity section of MuJoCo.The part in xml which raises that error:
It might be possible that info about this is missing in the table or maybe i am missing something.