cc_staff
284
edits
(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> |