This repository houses a PyTorch implementation of Plasticity Injection, replicating the Diagnostic Tool detailed in [Deep Reinforcement Learning with Plasticity Injection].
Install MuJoCo if it is not already the case:
- Obtain a license on the MuJoCo website.
- Download MuJoCo binaries here.
- Unzip the downloaded archive into
~/.mujoco/mujoco200and place your license key filemjkey.txtat~/.mujoco. - Use the env variables
MUJOCO_PY_MJKEY_PATHandMUJOCO_PY_MUJOCO_PATHto specify the MuJoCo license key path and the MuJoCo directory path. - Append the MuJoCo subdirectory bin path into the env variable
LD_LIBRARY_PATH.
Install the following libraries:
sudo apt update
sudo apt install libosmesa6-dev libgl1-mesa-glx libglfw3Install dependencies:
conda env create -f conda_env.yml
conda activate drqv2Train the agent:
sh train.shWe would like to thank Denis Yarats for open-sourcing the DrQv2 codebase. Our implementation builds on top of their repository.