Skip to content

ALRhub/di-skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Acquiring Diverse Skills using Curriculum Reinforcement Learning with Mixture of Experts

Please find the project webpage here with the link to the paper and videos showcasing conducted experiments.

Installation

Create a conda environment with python3.8, activate it and install the packages listed below in the right order.

  1. The Trust-Region Projection Layers use a C++ implementation for solving the dual. This is implemented in the ITPAL (MIT LICENSE) package and needs to be seperately installed. Please follow the installation instructions listed here.

  2. Install fancy gym--the package that contains the environments--(MIT LICENSE). Navigate to the fancy gym folder and install via pip

pip install -e .

Note that Fancy gym was updated and has new version releases ensuring compatibility to new gymnasium versions, integration to other benchmark suits like DMC and metaworld and easy installation via pip. However, this project is based on an older version, therefore we have a built-in package in this repository.

  1. Di-Skill uses motion primitives. We use the mp-pytorch package (GPL-3.0 LICENSE). We provide the used version in this repository. Navigate to MP_Pytorch and install the package via
pip install -e .
  1. Additionally, we use ClusterWorks2 (MIT LICENSE) for managing the experiments and potentially running scripts on an HPC. Navigate to the cw2 folder and install it via
pip install -e .
  1. Finally, we can install all other dependencies needed for Di-Skill. Please note that Di-Skill partly uses code from the Trust Region Projection Layers which is under the AGPL-3.0 LICENSE. Hence, DI-Skill follows the AGPL-3.0 LICENSE. Navigate to the folder diskill and install it via
pip install -r requirements.txt
pip install -e .

Running an experiment

python diskill/run.py diskill/configs/table_tennis.yml -o --nocodecopy 

About

No description, website, or topics provided.

Resources

License

Stars

6 stars

Watchers

5 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors