Closed jamesheald closed 10 months ago
Hi @jamesheald , we have a recent PR that makes the error more readable https://github.com/google-deepmind/mujoco/commit/e4a9f535a4fe05c2120ae9cd7afb17665f917e6b
If you run with that change, the error will be able to give a better idea of what to change in the XML. Also see https://mujoco.readthedocs.io/en/stable/mjx.html#feature-parity
Thanks @btaba.
I now get the following message: 'NotImplementedError: [<mjtBias.mjBIAS_MUSCLE: 2>] not implemented.'
I assume this is because, under feature parity, the feature MUSCLE in category transmission is not supported (MyoSuite is a musculoskeletal model)? It looks like this feature is not in development either, which is a shame.
For what it's worth, I'd like to request support for features used by MyoSuite musculoskeletal models.
Thanks @jamesheald , noted! Feel free to send us a PR as well. I think this will be easier to implement once we have another transmission type (besides joint) implemented in MJX
+1 ... Would love to have this feature and integrate the possibility of GPU/TPU acceleration in MyoSuite!
Also, there is a growing community using MuJoCo for musculoskeletal modeling more holistically that would love to benefit from gpu/tpu acceleration.
Thanks @btaba, I will try to send a PR at some point.
+1 on the want for muscle implementations :)
+1 for a request for muscle implementations!
It would also be helpful to know what blockers (if any) exist for the implementation. It sounds like there might be a few steps before muscles could be supported by MJX (e.g. other transmission types).
Thanks for all your hard work on supporting this package! 🙂
CC: @rick-warren @SSaltEng @jsmerelFB
+1 support for Muscles support
MSK systems are quite high dimensional. IMO, this is exactly where acceleration provided by MJX will shine. There is limited hope otherwise.
+1 for muscle support :)
Hello! We've heard you loud and clear and will prioritize support for muscles. Tendons will be done first, and muscles will come some time after that. I will update the documentation so that muscles are marked as in development.
Hello! We've heard you loud and clear and will prioritize support for muscles. Tendons will be done first, and muscles will come some time after that. I will update the documentation so that muscles are marked as in development.
Thanks for the follow-up, @erikfrey! Awesome work so far. Really excited to get back into the JAX ecosystem and leverage the benefits of MJX for our projects. Cheers!
Let's consolidate MJX feature request + feature tracking in #1179.
I'm following the google colab MJX tutorial (https://colab.research.google.com/github/google-deepmind/mujoco/blob/main/mjx/tutorial.ipynb) but instead of creating a Humanoid environment, I'm trying to create an environment from MyoSuite (https://github.com/MyoHub/myosuite) - Myosuite environments are built from Mujoco and wrapped in an OpenAI gym API.
Specifically, in the 'Humanoid Env' tab of the colab tutorial, I replace the path to the humanoid.xml file with a path to the .xml file of a MyoSuite environment by replacing the following lines of code:
with:
I then register the environment under the name 'myofinger_mjx', call 'env = envs.get_environment('myofinger_mjx')' and get the following error message and Tracback:
Can anybody help me to understand what is going on here?
Here is a link to my google colab code to reproduce the error: https://colab.research.google.com/drive/17QJDvNaFYzluhSDe2X3L5j81oCIm_3kd?usp=sharing).
Thanks in advance.