- Download the MuJoCo version 2.1 binaries for Linux or OSX.
- Extract the downloaded
mujoco210
directory into~/.mujoco/mujoco210
. - Install mujoco-py:
pip install -U 'mujoco-py<2.2,>=2.1'
To set up the project environment, Use the environment.yml
file. It contains the necessary dependencies and installation instructions.
conda env create -f environment.yml
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/nvidia
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/.mujoco/mujoco210/bin
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libGLEW.so
python3 main.py --task policy_gradient
python3 main.py --task behavior_cloning
python3 main.py --task dagger