Jianren Wang*1, Sudeep Dasari*1, Mohan Kumar1, Shubham Tulsiani1, Abhinav Gupta1
1Carnegie Mellon University, * indicates equal contribution
Data is located here.
Below are example scripts for training and testing on franka emika.
- Clone repo.
git clone https://github.com/AGI-Labs/manipulate-by-seeing
- Create and activate conda environment.
conda env create -f environment.yml
conda activate seeing
- Set env path.
export PYTHONPATH=$PYTHONPATH:path_to_proj/
-
Download the data from the above google drive.
-
Put action_*.pickle under dataloader.
-
Edit yaml files
root_dir: path_to_data/
save_dir: path_to_save_the_weights/
-
To train:
python scripts/trainer.py --experiment='knob_turning_0113' --task='knob_turning'
-
Follow this to install polymetis for robot control.
-
Edit yaml files
model_weights: path_to_pretrained_models/
gripper_weights: path_to_pretrained_gripper_predictor/
- Edit GripperController
close configuration: [here](https://github.com/AGI-Labs/manipulate-by-seeing/blob/1d1f91d8bee98fa7fee399da3993efe0a71c7671/inference/robot_setup.py#L76)
open configuration: [here](https://github.com/AGI-Labs/manipulate-by-seeing/blob/1d1f91d8bee98fa7fee399da3993efe0a71c7671/inference/robot_setup.py#L79)
- This command to test on Franka Emika.
python inference/run.py --task='pick_and_place'
The controller of dynamixel motors is borrowed from Vikash Kumar
If you find our paper or code useful, please cite our papers:
@article{wang2023manipulate,
title={Manipulate by Seeing: Creating Manipulation Controllers from Pre-Trained Representations},
author={Wang, Jianren and Dasari, Sudeep and Srirama, Mohan Kumar and Tulsiani, Shubham and Gupta, Abhinav},
booktitle={International Conference on Computer Vision (ICCV)},
year={2023}
}