MuJoCo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Rework of MuJoCo with recent module that include bindings.) |
||
Line 7: | Line 7: | ||
<!--T:4--> | <!--T:4--> | ||
It is frequently used with the associated Python | It is frequently used with the associated Python bindings <code>mujoco</code> as an environment for reinforcement learning (RL) research. | ||
The module contains MuJoCo C/C++ library and its Python bindings. | |||
== | == Library == | ||
In order to access headers and binaries, load the module: | |||
{{Command|module load mujoco}} | |||
=== | == Python bindings == | ||
To discover which are the compatible Python versions, run | |||
{{Command|module spider mujoco/2.2.2}} | |||
1. Load the required modules. | |||
{{Command|module load mujoco python}} | |||
2. Import MuJoCo. | |||
{{Command|python -c "import mujoco"}} | |||
If the command displays nothing, the import was successful. | |||
</translate> | </translate> |
Revision as of 17:57, 27 September 2022
MuJoCo stands for Multi-Joint dynamics with Contact. It is a physics engine aiming to facilitate research and development in robotics, biomechanics, graphics and animation, and other areas where fast and accurate simulation is needed.[1]
It is frequently used with the associated Python bindings mujoco
as an environment for reinforcement learning (RL) research.
The module contains MuJoCo C/C++ library and its Python bindings.
Library
In order to access headers and binaries, load the module:
[name@server ~]$ module load mujoco
Python bindings
To discover which are the compatible Python versions, run
[name@server ~]$ module spider mujoco/2.2.2
1. Load the required modules.
[name@server ~]$ module load mujoco python
2. Import MuJoCo.
[name@server ~]$ python -c "import mujoco"
If the command displays nothing, the import was successful.