MuJoCo: Difference between revisions
Jump to navigation
Jump to search
(Rework of MuJoCo with recent module that include bindings.) |
(Marked this version for translation) |
||
Line 9: | Line 9: | ||
It is frequently used with the associated Python bindings <code>mujoco</code> as an environment for reinforcement learning (RL) research. | It is frequently used with the associated Python bindings <code>mujoco</code> as an environment for reinforcement learning (RL) research. | ||
<!--T:20--> | |||
The module contains MuJoCo C/C++ library and its Python bindings. | The module contains MuJoCo C/C++ library and its Python bindings. | ||
== Library == | == Library == <!--T:21--> | ||
In order to access headers and binaries, load the module: | In order to access headers and binaries, load the module: | ||
{{Command|module load mujoco}} | {{Command|module load mujoco}} | ||
== Python bindings == | == Python bindings == <!--T:22--> | ||
To discover which are the compatible Python versions, run | To discover which are the compatible Python versions, run | ||
{{Command|module spider mujoco/2.2.2}} | {{Command|module spider mujoco/2.2.2}} | ||
<!--T:23--> | |||
1. Load the required modules. | 1. Load the required modules. | ||
{{Command|module load mujoco python}} | {{Command|module load mujoco python}} | ||
<!--T:24--> | |||
2. Import MuJoCo. | 2. Import MuJoCo. | ||
{{Command|python -c "import mujoco"}} | {{Command|python -c "import mujoco"}} | ||
<!--T:25--> | |||
If the command displays nothing, the import was successful. | If the command displays nothing, the import was successful. | ||
</translate> | </translate> |
Latest 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.