Skip to content

mooricAnna/CoIT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages