/ManiSkill-ViTac2024

Official Repo for ManiSkill-ViTac Challenge 2024

Primary LanguagePythonApache License 2.0Apache-2.0

Table of Contents

Update

2024/03/05 Add the baseline for long_open_lock, you can run open_lock_sim_evaluation.py to check it.

2024/02/27 Add the baseline for peg_insertion, you can run peg_insertion_sim_evaluation.py to check it.

2024/02/24 Add --no_render option for training without renderer. This is useful for training on a server without a display.

2024/02/21 Add multi-gpu to the environment. Now the training script will automatically select multiple gpus when parallel in the configuration file is larger than 1.

2024/02/08 Add render_rgb option for tactile sensor observations

Installation

Requirements:

Clone this repo with

git clone https://github.com/callmeray/ManiSkill-ViTac2024.git

Run

conda env create -f environment.yaml
conda activate mani_vitac

Then use the following commands to install SapienIPC, following the README file in that repo.

Training Example

To train our example policy, run

# example policy for peg insertion
python scripts/universal_training_script.py --cfg configs/parameters/peg_insertion.yaml [--no_render]
# example policy for open lock
python scripts/universal_training_script.py --cfg configs/parameters/long_open_lock.yaml [--no_render]

Submission

For policy evaluation in simulation, run

# evaluation of peg insertion and lock opening
# replace the key and the policy model
python scripts/peg_insertion_sim_evaluation.py
python scripts/open_lock_sim_evaluation.py

Submit the evaluation logs by emailing them to maniskill.vitac@gmail.com

Leaderboard

The leaderboard for this challenge is available at Google Drive.

Real Robot Evaluation

Real robot evaluation code demo is contained in real_env_demo/. The GelsightMini sensor code is maintained at GitHub/gelsight_mini_ros.

Contact

Join our discord to contact us. You may also email us at maniskill.vitac@gmail.com

Citation

@ARTICLE{chen2024tactilesim2real,
              author={Chen, Weihang and Xu, Jing and Xiang, Fanbo and Yuan, Xiaodi and Su, Hao and Chen, Rui},
              journal={IEEE Transactions on Robotics}, 
              title={General-Purpose Sim2Real Protocol for Learning Contact-Rich Manipulation With Marker-Based Visuotactile Sensors}, 
              year={2024},
              volume={},
              number={},
              pages={1-18},
              doi={10.1109/TRO.2024.3352969}}