Skip to content

A PyTorch implementation of Plasticity Injection's replication on DMC.

License

Notifications You must be signed in to change notification settings

Guozheng-Ma/Plasticity-Injection_Torch

Repository files navigation

Plasticity Injection for Visual RL

This repository houses a PyTorch implementation of Plasticity Injection, replicating the Diagnostic Tool detailed in [Deep Reinforcement Learning with Plasticity Injection].

Instructions

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/mujoco200 and place your license key file mjkey.txt at ~/.mujoco.
  • Use the env variables MUJOCO_PY_MJKEY_PATH and MUJOCO_PY_MUJOCO_PATH to 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 libglfw3

Install dependencies:

conda env create -f conda_env.yml
conda activate drqv2

Train the agent:

sh train.sh

Acknowledgements

We would like to thank Denis Yarats for open-sourcing the DrQv2 codebase. Our implementation builds on top of their repository.

About

A PyTorch implementation of Plasticity Injection's replication on DMC.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published