Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.26 KB

README.md

File metadata and controls

37 lines (28 loc) · 1.26 KB

CoIT

This is a PyTorch implementation of "On the Data-Efficiency with Contrastive Image Transformation in Reinforcement Learning" for DeepMind Control Suite. The code has not been tested for any other setting.

PDF OpenReview WebPage

Instructions

Install MuJoCo if it is not already the case:

  • Download MuJoCo binaries here.
  • Unzip the downloaded archive into ~/.mujoco/mujoco210.
  • Use the env variables MUJOCO_PY_MUJOCO_PATH to specify 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

Requirements

The code was run on a GPU with CUDA 11.2. To install all the required dependencies:

conda env create -f conda_env.yml
conda activate coit

Train CoIT on cartpole_swingup

python train.py task=cartpole_swingup