Skip to content
tiencaphamPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

DeGuV: Depth-Guided Visual Reinforcement Learning for Generalization and Interpretability in Manipulation

We have released DeGuV -- a Depth-Guided Visual Reinforcement Learning model targetting Generalization and Interpretability.

Overview

[Paper Comming soon] [Demo]


MIT License Python 3.8 Code style: white

Intallation

Clone the DeGuV repo:

git clone https://github.com/tiencapham/DeGuV.git
cd DeGuV/

Create a conda environment:

conda create -n deguv python=3.8
bash setup/install_deguv.sh

Code Structure

  • algos: contains the implementation of different algorithms.
  • cfgs: contains the hyper-parameters for different algorithms and each tasks.
  • envs: RL-ViGen benchmark environments. In addtion, each sub-folder contains specific README.md for the introduction of the environment.
  • setup: the installation scripts for conda envs.
  • third_party: submodules from third parties. We won't frequently change the code in this folder.
  • wrappers: includes the wrappers for each environment.
  • scripts: includes scripts that facilitate training and evaluation.

Extra Datasets

The algorithms will use the Places dataset for data augmentation, which can be downloaded by running

wget http://data.csail.mit.edu/places/places365/places365standard_easyformat.tar

After downloading and extracting the data, add your dataset directory to the datasets list in cfgs/aug_config.cfg.

Training

cd DeGuV/
bash scripts/train.sh

Evaluation

For evaluation, please place the snapshot.pt of your model in the eval/{task}/{model_name} such as eval/Lift/deguv/. We also provides the pretrain DeGuV on Lift task here. Then you can start to run the evaluation by:

cd DeGuV/
bash scripts/eval.sh

You can also change the evaluation mode in eval.sh script from train to eval-easy, eval-medium and eval-hard.

Acknowledgements

Our training code is based on DrQv2 and RL-ViGen And we also thank the codebase of VRL3, DMC-GB, SECANT.

Funding

This work has been partially supported by Horizon Europe (and UKRI Horizon Guaranteed Fund) under the Marie Skłodowska-Curie grant agreement No 101072488 (TRAIL). This work was also in part supported by a project funded by the EPSRC Prosperity grant CRADLE (EP/X02489X/1) and by the Air Force Office of Scientific Research, USAF, under the CASPER++ Awards (FA8655-24-1-7047).

License

The majority of RL-ViGen, DrQ-v2, DMCGB, VRL3 is licensed under the MIT license. Habitat Lab, dmc2gym, mujoco-py are also licensed under the MIT license. However portions of the project are available under separate license terms: DeepMind, mj_envs, and mjrl is licensed under the Apache 2.0 license. Gibson based task datasets, the code for generating such datasets, and trained models are distributed with Gibson Terms of Use and under CC BY-NC-SA 3.0 US license. CARLA specific assets are distributed under CC-BY License. The ad-rss-lib library compiled and linked by the RSS Integration build variant introduces LGPL-2.1-only License

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages