yxma commited on
Commit
fb64263
·
verified ·
1 Parent(s): 4892d87

add README

Browse files
Files changed (1) hide show
  1. README.md +146 -0
README.md ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - image-classification
5
+ - feature-extraction
6
+ tags:
7
+ - tactile
8
+ - gelsight
9
+ - gelsight-mini
10
+ - robotics
11
+ - tactile-sensing
12
+ - pretraining
13
+ size_categories:
14
+ - 100K<n<1M
15
+ configs:
16
+ - config_name: fota_labeled
17
+ data_files:
18
+ - split: train
19
+ path: fota_labeled/train-*.parquet
20
+ - split: val
21
+ path: fota_labeled/val-*.parquet
22
+ - config_name: fota_unlabeled
23
+ data_files:
24
+ - split: train
25
+ path: fota_unlabeled/train-*.parquet
26
+ - split: val
27
+ path: fota_unlabeled/val-*.parquet
28
+ - config_name: threedcal
29
+ data_files:
30
+ - split: train
31
+ path: threedcal/train-*.parquet
32
+ - config_name: feats
33
+ data_files:
34
+ - split: train
35
+ path: feats/train-*.parquet
36
+ - split: val
37
+ path: feats/val-*.parquet
38
+ - split: test
39
+ path: feats/test-*.parquet
40
+ - split: test_diff_sensor_new_gel
41
+ path: feats/test_diff_sensor_new_gel-*.parquet
42
+ - split: test_diff_sensor_old_gel
43
+ path: feats/test_diff_sensor_old_gel-*.parquet
44
+ - split: test_unknown_indenters
45
+ path: feats/test_unknown_indenters-*.parquet
46
+ ---
47
+
48
+ # GelSight Mini Pretrain
49
+
50
+ A unified collection of public **GelSight Mini** tactile images for self-supervised
51
+ pretraining (VAE, MAE, contrastive, etc.). Aggregates several existing datasets
52
+ into a single parquet-based, HuggingFace-native format with a common schema and
53
+ marker / markerless split.
54
+
55
+ ## Quick start
56
+
57
+ ```python
58
+ from datasets import load_dataset
59
+
60
+ # Default subset: largest, markerless, unlabeled video frames
61
+ ds = load_dataset("yxma/gelsight-mini-pretrain", "fota_unlabeled", split="train")
62
+
63
+ # Or fetch a specific subset:
64
+ ds = load_dataset("yxma/gelsight-mini-pretrain", "fota_labeled", split="train")
65
+ ds = load_dataset("yxma/gelsight-mini-pretrain", "threedcal", split="train")
66
+ ds = load_dataset("yxma/gelsight-mini-pretrain", "feats", split="train")
67
+
68
+ print(ds[0]["image"]) # PIL.Image
69
+ print({k: ds[0][k] for k in ds.features if k != "image"})
70
+ ```
71
+
72
+ ## What's inside
73
+
74
+ All images are 240×320 or 320×240 RGB JPEG (re-encoded at quality 92 for
75
+ storage efficiency), captured with the **GelSight Mini** tactile sensor.
76
+
77
+ | Config | Source | Frames | Gel | Has labels | Notes |
78
+ |---|---|---:|---|---|---|
79
+ | `fota_labeled` | Foundation Tactile (FoTA) — panda_warped subset, sampled stills paired with end-effector pose | 29,494 | markerless | end-effector x,y,z + quat | One labeled still per pose tick along a robot trajectory. |
80
+ | `fota_unlabeled` | FoTA — continuous video frames from the same captures | 516,523 | markerless | obj_name only | Bulk of the data; intended for self-supervised pretraining. |
81
+ | `threedcal` | py3DCal (Kota, Shah, Colgate, Reardon 2025) — sphere indentation grid for calibration | 36,270 | markerless | x_mm, y_mm, penetration_depth_mm | Indenter probe at varying (x, y, z). PNG images, 320×240. |
82
+ | `feats` | FEATS (Helmut 2025) — sphere / cuboid / cylinder / etc. indentation with force | 22,014 | **markered** (dotted gel) | indenter shape + size, f_x, f_y, f_z | Marker-grid gel; useful for force/shear learning. Multiple test splits include unseen indenters and a second sensor. |
83
+
84
+ *A `feelanyforce` config containing ~200K additional markerless frames may be added later, pending license verification with the upstream authors.*
85
+
86
+ **Combined markerless: 582,287 frames** &nbsp; · &nbsp; **markered: 22,014 frames**
87
+
88
+ ## Schema
89
+
90
+ Every row, regardless of source, has the same columns. Optional fields are `null`
91
+ where not applicable to a given source.
92
+
93
+ | Column | Type | Description |
94
+ |---|---|---|
95
+ | `image` | image | The tactile RGB frame (JPEG bytes; auto-decoded by `datasets`) |
96
+ | `image_format` | string | Always `"jpeg"` |
97
+ | `source` | string | `"fota_labeled"` / `"fota_unlabeled"` / `"3dcal"` / `"feats"` |
98
+ | `markered` | bool | `True` if the gel has tracking dots |
99
+ | `capture` | string | Capture/scene/probe identifier from the source dataset |
100
+ | `split` | string | `train` / `val` / `test` / `test_diff_sensor_new_gel` / etc. |
101
+ | `height`, `width`| int32 | Image dimensions in pixels |
102
+ | `obj_name` | string | (FoTA) object pressed against the gel |
103
+ | `init_pose` | int32 | (FoTA) initial-pose index for this capture |
104
+ | `side` | string | (FoTA) `"left"` or `"right"` gripper finger |
105
+ | `x_mm`, `y_mm`, `z_mm` | float32 | (FoTA labeled, 3DCal) probe / end-effector position |
106
+ | `quat_x..w` | float32 | (FoTA labeled) end-effector orientation |
107
+ | `indenter` | string | (FEATS) probe shape, e.g. `"sphere"` |
108
+ | `indenter_param` | string | (FEATS) probe size (mm) |
109
+ | `f_x`, `f_y`, `f_z` | float32 | (FEATS) total force on probe |
110
+ | `grid_z_max`, `grid_z_mean` | float32 | (FEATS) per-pixel depth grid statistics |
111
+
112
+ ## Recommended use
113
+
114
+ - **Self-supervised pretraining (VAE / MAE / SimCLR / DINO):** train on
115
+ `fota_unlabeled + fota_labeled + threedcal` (markerless, ~582K frames).
116
+ Keep `feats` separate since its dotted-gel appearance is very different.
117
+ - **Force / shear regression:** fine-tune on `feats` with its `f_x/y/z` labels.
118
+ - **Pose estimation:** fine-tune on `fota_labeled` with its `xyz + quat` labels.
119
+ - **Marker invariance studies:** train markerless ↔ test on `feats`, or use a
120
+ marker-mask augmentation.
121
+
122
+ ## Provenance and citation
123
+
124
+ This dataset is a re-packaging of existing public datasets. If you use it, please
125
+ cite the upstream sources:
126
+
127
+ - **FoTA** — *Foundation Tactile*, Zhao et al. 2024. [Dataset on
128
+ HF](https://huggingface.co/datasets/alanz-mit/FoundationTactile), [GitHub](https://github.com/alanzjl/t3), [arXiv:2406.13640](https://arxiv.org/abs/2406.13640).
129
+ MIT License.
130
+ - **3D Cal (py3DCal)** — Kota, Shah, Colgate, Reardon (2025). Zenodo record
131
+ [18462608](https://zenodo.org/records/18462608). CC-BY-4.0.
132
+ - **FEATS** — Helmut (2025). [Dataset on
133
+ HF](https://huggingface.co/datasets/erikhelmut/FEATS). MIT License.
134
+
135
+ All conversions performed here are lossy only by JPEG re-encoding at quality 92.
136
+ Pose / force / metadata are preserved verbatim.
137
+
138
+ ## License
139
+
140
+ This aggregated release is **CC-BY-4.0** (the most restrictive license among the
141
+ included sources). Component datasets retain their original licenses for
142
+ non-image content.
143
+
144
+ ## Acknowledgments
145
+
146
+ Thanks to the FoTA, py3DCal, and FEATS authors for releasing their data publicly.