You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering an IndexError when trying to run a MuJoCo/Brax simulation on Kaggle. The code was working previously, but I made some changes related to package versions and now I'm stuck.
Initially, it was working (though I did get some warnings about jax.tree_map which I was trying to resolve). I decided to remove the specific version numbers for brax, mujoco, and mujoco_mjx in the installation commands. This is when the IndexError started.
IndexError: index 0 is out of bounds for axis 0 with size 0
The error seems to be related to the mesh files used by MuJoCo, I'm not sure how removing the version specifications would cause this. Any help would be greatly appreciated! I'm particularly wondering if there are any known compatibility issues with different versions of these libraries.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm encountering an
IndexErrorwhen trying to run a MuJoCo/Brax simulation on Kaggle. The code was working previously, but I made some changes related to package versions and now I'm stuck.I'm using the notebook from this tutorial: https://github.com/goncalog/ai-robotics/blob/main/tutorials/robot_tricks.ipynb
Initially, it was working (though I did get some warnings about
jax.tree_mapwhich I was trying to resolve). I decided to remove the specific version numbers forbrax,mujoco, andmujoco_mjxin the installation commands. This is when theIndexErrorstarted.Here's the full error traceback:
The error seems to be related to the mesh files used by MuJoCo, I'm not sure how removing the version specifications would cause this. Any help would be greatly appreciated! I'm particularly wondering if there are any known compatibility issues with different versions of these libraries.
Beta Was this translation helpful? Give feedback.
All reactions