Skip to content

Official implementation of Skills Transfer and Discovery for Sim-to-Real Learning: A Representation-Based Viewpoint .

Notifications You must be signed in to change notification settings

mahaitongdae/steady_sim_to_real

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STEADY: Skill TransfEr And DiscoveY for sim-to-real learning

This is the official implementation of Skill Transfer and Discovery for Sim-to-Real Learning: A Representation-Based Viewpoint.

TL;DR: We use representation learning to improve sim-to-real transfer learning. For more experimental videos, see our project homepage.

Alt text

Stucture of STEADY sim-to-real learning

We test the sim-to-real transfer on the crazyflie 2.1 drones,

Alt text

Simulator policy

Alt text

Policy after tuning with STEADY algorithm

Offline/Simulator Training Setup

Python environment

  • create conda environement
    conda create -n drones python=3.10
    conda activate drones
  • install pytorch according to https://pytorch.org/. CUDA highly recommended for faster training.

clone and setup environment

git clone --recursive https://github.com/mahaitongdae/steady_sim_to_real.git
  • install environments (No need to follow the readme inside):
    cd steady_sim_to_real
    cd deploy/envs/gym_pybullet/drones
    pip3 install -e .
    pip3 install gym tensorboardX seaborn

offline training

python main_pyb.py

The training results will appear in the log folder.

Online/Sim-to-Real Transfer Setup

Hardware and software requirements

online training

python main_onine.py

Recommanded citation

@article{ma2024skilltransferdiscoverysimtoreal,
      title={Skill Transfer and Discovery for Sim-to-Real Learning: A Representation-Based Viewpoint}, 
      author={Haitong Ma and Zhaolin Ren and Bo Dai and Na Li},
      year={2024},
      eprint={2404.05051},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2404.05051}, 
}

About

Official implementation of Skills Transfer and Discovery for Sim-to-Real Learning: A Representation-Based Viewpoint .

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages