- create an environment
conda create --name gripper_det python=3.8.1
conda activate gripper_det
git clone https://github.com/Dantong88/Gripper_detector
- install torch
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124
- install off-the-shelf detectron2
python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'
We release the weights of the detector as follows, you are free to download it and put it under the folder ckpt.
Name | Backbone | Train Set | Download |
---|---|---|---|
End-effector Detector | ResNet101 | Subset of OXE | Model |
Run inference using our test image:
python inference.py --ckpt ckpt/model_final.pth
see parser in inference.py
for complete usage.
If you have any general questions, feel free to email us at Dantong Niu). If you have code or implementation-related questions, please feel free to send emails to us or open an issue in this codebase (We recommend that you open an issue in this codebase, because your questions may help others).
If you find our work inspiring or use our codebase in your research, please consider giving a star ⭐ and a citation.
@misc{niu2024llarva,
title={LLARVA: Vision-Action Instruction Tuning Enhances Robot Learning},
author={Dantong Niu and Yuvan Sharma and Giscard Biamby and Jerome Quenum and Yutong Bai and Baifeng Shi and Trevor Darrell and Roei Herzig},
year={2024}
}