Downloads · 30 days
0
facebook/sparsh-gelsight-forcefield-decoder
sparsh-gelsight-forcefield-decoder is a machine learning model from facebook. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as cc-by-nc-4.0.
We decode the touch representations from Sparsh into normal and shear force fields. This allows us to gather an intuition about what the representations capture in terms of forces in a way that is interpretable for hu…
Downloads · 30 days
0
Access
Public
Updated Oct 24, 2024
Repo size
586 MB
Likes
0
Public
Click a slice to open those files.
.ckpt542 MB · 92%
From the Hugging Face model README
We decode the touch representations from Sparsh into normal and shear force fields. This allows us to gather an intuition about what the representations capture in terms of forces in a way that is interpretable for humans.
For testing Sparsh(DINO) + force field decoder live, you only need a GelSight mini sensor. Follow these steps to run the demo:
Clone the sparsh repo
Create a folder for downloading the task checkpoints. For example, ${YOUR_PATH}/outputs_sparsh/checkpoints.
Download the Sparsh (DINO) base checkpoint
Download the decoder checkpoints from this repo.
Connect the sensor to your PC.
Make sure the device is recognized by the OS (you can use Cheese in Linux to see the video that the sensor is streaming).
Running the demo for GelSight mini (please refer to the Sparsh repo README for more information about how to setup the path configs):
python demo_forcefield.py +experiment=digit/downstream_task/forcefield/gelsight_dino paths=${YOUR_PATH_CONFIG} paths.output_dir=${YOUR_PATH}/outputs_sparsh/checkpoints/ test.demo.gelsight_device_id=${YOUR_GELSIGHT_VIDEO_ID}`
The GelSight mini is recognized as a webcam. You can get the video ID by checking in a terminal ls -l /dev/video*.
@inproceedings{
higuera2024sparsh,
title={Sparsh: Self-supervised touch representations for vision-based tactile sensing},
author={Carolina Higuera and Akash Sharma and Chaithanya Krishna Bodduluri and Taosha Fan and Patrick Lancaster and Mrinal Kalakrishnan and Michael Kaess and Byron Boots and Mike Lambeta and Tingfan Wu and Mustafa Mukadam},
booktitle={8th Annual Conference on Robot Learning},
year={2024},
url={https://openreview.net/forum?id=xYJn2e1uu8}
}