yxma commited on
Commit
fc5c044
·
verified ·
1 Parent(s): 8f09431

docs: SOURCES.md add ## 10 UniT + ## 11 TacQuad sections, update all stale row counts (fota_unlabeled, RTM, sims, feelanyforce, etc), add Channel-order normalization section; README: update header tagline frame count

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. SOURCES.md +135 -33
README.md CHANGED
@@ -94,7 +94,7 @@ configs:
94
 
95
  ![overview](assets/combined_overview.png)
96
 
97
- A unified, parquet-native collection of **~830K [GelSight Mini](https://www.gelsight.com/gelsightmini/) tactile RGB frames** for self-supervised representation learning. **Ten** public datasets are aggregated under one schema, each filtered through a unified area+intensity contact rule with **per-domain thresholds** (I_min = 12 for real subsets, I_min = 10 for sim subsets, 1.5 % background-diversity keep rate) + per-capture phash dedupe:
98
  - **~536K real-world frames** from 10 sources (FoTA labeled+unlabeled, 3DCal, FEATS, GelSLAM, TactileTracking, Real Tactile MNIST, FeelAnyForce, UniT, TacQuad)
99
  - **400 K simulated frames** from 2 Mini-calibrated Taxim renders (Sim Tactile MNIST, Sim Starstruck)
100
  - Plus a companion **CC-BY-NC extension** ([`yxma/gelsight-mini-pretrain-nc`](https://huggingface.co/datasets/yxma/gelsight-mini-pretrain-nc)) with another **~66 K** real frames from Meta Sparsh
 
94
 
95
  ![overview](assets/combined_overview.png)
96
 
97
+ A unified, parquet-native collection of **~833K [GelSight Mini](https://www.gelsight.com/gelsightmini/) tactile RGB frames** for self-supervised representation learning. **Ten** public datasets are aggregated under one schema, each filtered through a unified area+intensity contact rule with **per-domain thresholds** (I_min = 12 for real subsets, I_min = 10 for sim subsets, 1.5 % background-diversity keep rate) + per-capture phash dedupe:
98
  - **~536K real-world frames** from 10 sources (FoTA labeled+unlabeled, 3DCal, FEATS, GelSLAM, TactileTracking, Real Tactile MNIST, FeelAnyForce, UniT, TacQuad)
99
  - **400 K simulated frames** from 2 Mini-calibrated Taxim renders (Sim Tactile MNIST, Sim Starstruck)
100
  - Plus a companion **CC-BY-NC extension** ([`yxma/gelsight-mini-pretrain-nc`](https://huggingface.co/datasets/yxma/gelsight-mini-pretrain-nc)) with another **~66 K** real frames from Meta Sparsh
SOURCES.md CHANGED
@@ -62,8 +62,8 @@ are excluded.
62
 
63
  | Subset | Frames | Resolution | Markered / Markerless | Splits |
64
  |------------------|--------:|------------|----------------------:|------------------|
65
- | `fota_labeled` | 29,494 | 640 × 480 | 10,025 / 19,469 | train 23,588 · val 5,906 |
66
- | `fota_unlabeled` | 516,523 | 640 × 480 | 190,816 / 325,707 | train 413,193 · val 103,330 |
67
 
68
  13 distinct contact objects, 5 initial-pose indices, 15,148 unique
69
  (object, pose, side) captures. End-effector range
@@ -429,7 +429,7 @@ empty drops.
429
 
430
  | Subset | Frames | Resolution | Markered | Unique objects |
431
  |----------------|--------:|------------|---------:|---------------:|
432
- | `feelanyforce` | 50,997 | 320 × 240 | 0 | 42 |
433
 
434
  **40 random samples:**
435
 
@@ -470,7 +470,7 @@ per touch, already at peak contact — no video decode needed).
470
 
471
  | Subset | Frames | Resolution | Domain |
472
  |-----------------------|--------:|------------|--------|
473
- | `sim_tactile_mnist` | 200,000 | 320 × 240 | sim |
474
 
475
  **40 random samples:**
476
 
@@ -499,8 +499,8 @@ filter, no dedupe, capped at 200 K kept frames.
499
 
500
  | Subset | Split | Frames | Resolution | Domain |
501
  |------------------|-------|--------:|------------|--------|
502
- | `sim_starstruck` | train | 46,400 | 320 × 240 | sim |
503
- | `sim_starstruck` | test | 153,600 | 320 × 240 | sim |
504
  | **Total** | | **200,000** | | |
505
 
506
  **40 random samples:**
@@ -509,18 +509,100 @@ filter, no dedupe, capped at 200 K kept frames.
509
 
510
  ---
511
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
512
  ## Investigated but not included
513
 
514
- - **TacQuad** (AnyTouch, ICLR 2025) — the released zip contains
515
- pre-processed 120×160 PNGs in non-Mini aspect ratio. The CSV metadata
516
- doesn't match the released folder structure (no per-sensor sub-folders
517
- visible). The data is shaped for the AnyTouch paper's own 224×224
518
- training pipeline, not raw Mini RGB pretraining. Deferred.
519
- - **UniT** — undocumented license, undocumented crop dimensions, ~300 GB
520
- manipulation data overshadows the ~16 K usable pretraining frames.
521
- Deferred.
522
  - **`facebook/gelsight-force-estimation`** — CC-BY-NC-4.0 license is
523
- incompatible with our CC-BY-4.0 aggregation. Not included.
 
 
 
 
 
 
 
 
524
  - **YCB-Sight** — CC-BY-SA-4.0 (viral copyleft), and the sim is not
525
  Mini-calibrated. Not included.
526
  - **TACTO**, **MidasTouch**, **DiffTactile**, generic GelSight sims —
@@ -529,25 +611,48 @@ filter, no dedupe, capped at 200 K kept frames.
529
 
530
  ---
531
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
532
  ## Aggregate statistics
533
 
534
  ![composition](assets/composition.png)
535
 
536
  | Subset | Domain | Frames | Bytes (GB) | Resolution | Markered | Markerless |
537
  |-----------------------|--------|--------:|-----------:|------------|---------:|-----------:|
538
- | `fota_labeled` | real | 29,494 | 0.50 | 640 × 480 | 10,025 | 19,469 |
539
- | `fota_unlabeled` | real | 516,523 | 21.09 | 640 × 480 | 190,816 | 325,707 |
540
- | `threedcal` | real | 36,270 | 0.29 | 320 × 240 | 0 | 36,270 |
541
- | `feats` | real | 16,711 | 0.27 | 320 × 240 | 16,711 | 0 |
542
- | `gelslam` | real | 89,612 | 0.82 | 320 × 240 | 0 | 89,612 |
543
- | `tactile_tracking` | real | 1,605 | 0.01 | 320 × 240 | 0 | 1,605 |
544
- | `real_tactile_mnist` | real | 16,961 | 0.08 | 320 × 240 | 0 | 16,961 |
545
- | `feelanyforce` | real | 50,997 | 0.47 | 320 × 240 | 0 | 50,997 |
546
- | `sim_tactile_mnist` | sim | 200,000 | 1.36 | 320 × 240 | 0 | 200,000 |
547
- | `sim_starstruck` | sim | 200,000 | 1.14 | 320 × 240 | 0 | 200,000 |
548
- | **Real total** | | **758,173** | **~23.5** | | **217,552** | **540,621** |
549
- | **Sim total** | | **400,000** | **~2.5** | | **0** | **400,000** |
550
- | **Grand total** | | **1,158,173** | **~26.0** | | **217,552** | **940,621** |
 
 
551
 
552
  ![summary pies](assets/summary_pies.png)
553
 
@@ -557,11 +662,8 @@ filter, no dedupe, capped at 200 K kept frames.
557
 
558
  **Gel-variant pool sizes after aggregation:**
559
 
560
- - **Markerless pool** (`fota_labeled[markerless]` + `fota_unlabeled[markerless]` +
561
- `threedcal` + `gelslam` + `tactile_tracking` + `real_tactile_mnist` +
562
- `feelanyforce`): **648,168 frames**
563
- - **Markered pool** (`feats` + `fota_labeled[markered]` +
564
- `fota_unlabeled[markered]`): **217,552 frames**
565
 
566
  Filter examples:
567
 
 
62
 
63
  | Subset | Frames | Resolution | Markered / Markerless | Splits |
64
  |------------------|--------:|------------|----------------------:|------------------|
65
+ | `fota_labeled` | 26,394 | 640 × 480 | 10,025 / 16,369 | train 21,139 · val 5,255 |
66
+ | `fota_unlabeled` | 66,761 | 640 × 480 | 36,592 / 30,169 | train 66,761 (train-only) |
67
 
68
  13 distinct contact objects, 5 initial-pose indices, 15,148 unique
69
  (object, pose, side) captures. End-effector range
 
429
 
430
  | Subset | Frames | Resolution | Markered | Unique objects |
431
  |----------------|--------:|------------|---------:|---------------:|
432
+ | `feelanyforce` | 48,197 | 320 × 240 | 0 | 42 |
433
 
434
  **40 random samples:**
435
 
 
470
 
471
  | Subset | Frames | Resolution | Domain |
472
  |-----------------------|--------:|------------|--------|
473
+ | `sim_tactile_mnist` | 150,601 | 320 × 240 | sim |
474
 
475
  **40 random samples:**
476
 
 
499
 
500
  | Subset | Split | Frames | Resolution | Domain |
501
  |------------------|-------|--------:|------------|--------|
502
+ | `sim_starstruck` | train | 150,000 | 320 × 240 | sim |
503
+ | `sim_starstruck` | test | 16,104 | 320 × 240 | sim |
504
  | **Total** | | **200,000** | | |
505
 
506
  **40 random samples:**
 
509
 
510
  ---
511
 
512
+ ## 10 · UniT — continuous 3D-pose tracking (`unit`)
513
+
514
+ **Intro.** UniT (Yu et al., 2024) is a self-supervised pretraining
515
+ dataset designed for tactile pose estimation. It consists of a long
516
+ recording of a known calibration object being slid around against the
517
+ GelSight Mini gel, with paired 3D pose targets (x, y, z, yaw). The data
518
+ is delivered as a single zarr replay-buffer with **continuous contact**
519
+ throughout (no approach / release phases), so we skip the area+intensity
520
+ filter and keep every frame.
521
+
522
+ **Source release.**
523
+ - 🔗 [UniT repo](https://github.com/ZeyuYong/UniT) (zarr replay-buffer
524
+ format)
525
+ - 📜 License: BSD-3-Clause-style permissive (per upstream repo metadata)
526
+
527
+ **Original format.** A `replay_buffer.zarr` with two arrays:
528
+ - `data/tactile_image` — `(11340, 240, 320, 3)` uint8, zstd-compressed,
529
+ 9-frame chunks
530
+ - `data/3Dpose` — `(11340, 4)` float32 — (x_mm, y_mm, z_mm, yaw)
531
+
532
+ **How we processed it.** Read each frame from zarr, re-encoded as JPEG
533
+ quality 92, filled the unified schema with pose metadata mapped into
534
+ the `x_mm`/`y_mm`/`z_mm`/`quat_z` columns (yaw stored in `quat_z`).
535
+ Wrote `unit/train-00000-of-00001.parquet`. **No contact filter** — UniT
536
+ is a continuous-contact dataset by design, so every frame is contact-
537
+ bearing.
538
+
539
+ **Stats after processing.**
540
+
541
+ | Subset | Frames | Resolution | Markered / Markerless | Splits |
542
+ |--------|-------:|------------|----------------------:|--------|
543
+ | `unit` | 11,340 | 320 × 240 | 0 / 11,340 | train 11,340 |
544
+
545
+ **40 random samples:**
546
+
547
+ ![unit](assets/samples_40_unit.png)
548
+
549
+ ---
550
+
551
+ ## 11 · TacQuad — quad-sensor benchmark, Mini stream (`tacquad`)
552
+
553
+ **Intro.** TacQuad (Feng et al., 2025) is a 4-sensor synchronized
554
+ benchmark — every contact was captured simultaneously with **4 different
555
+ tactile sensors** (GelSight Mini, DIGIT, DuraGel, Tac3D). We ingest
556
+ **only the GelSight Mini stream**, contributing the highest object-
557
+ diversity component of the aggregation: **181 unique household, outdoor,
558
+ and "fine-grain" objects** captured under controlled indenter pressure.
559
+
560
+ **Source release.**
561
+ - 🔗 [TacQuad / AnyTouch project](https://github.com/anytouch-project)
562
+ - 📜 License: CC-BY-4.0
563
+
564
+ **Original format.** Three folders (one per environment):
565
+ `data_indoor/` (101 objects), `data_outdoor/` (50 objects), `data_fine/`
566
+ (30 objects). Each object has subfolders for each sensor's stream; we
567
+ read only the `gelsight/` subfolder (PNG files numbered 0.png, 1.png…).
568
+
569
+ **How we processed it.** Walked each environment, read all `gelsight/*.png`
570
+ frames per object, applied the unified area+intensity filter (I_min=12,
571
+ A_min=40, 1.5 % bg-diversity). Each environment becomes one split. Per-
572
+ row metadata: `obj_name`, `episode=obj_name`, `frame_idx` = the PNG
573
+ sequence number, `domain="real"`, `gel_variant="markerless"`.
574
+
575
+ **Stats after processing.**
576
+
577
+ | Subset | Split | Frames | Resolution | Domain |
578
+ |-----------|--------------|-------:|------------|--------|
579
+ | `tacquad` | data_indoor | 5,363 | 320 × 240 | real |
580
+ | `tacquad` | data_outdoor | 3,934 | 320 × 240 | real |
581
+ | `tacquad` | data_fine | 2,898 | 320 × 240 | real |
582
+ | **Total** | | **12,195** | | |
583
+
584
+ 24,866 raw Mini frames in the upstream zips, retention ~49 % after the
585
+ contact filter. Distinguishing feature: largest object diversity (181
586
+ real-world objects) in the entire dataset.
587
+
588
+ **40 random samples:**
589
+
590
+ ![tacquad](assets/samples_40_tacquad.png)
591
+
592
+ ---
593
+
594
  ## Investigated but not included
595
 
 
 
 
 
 
 
 
 
596
  - **`facebook/gelsight-force-estimation`** — CC-BY-NC-4.0 license is
597
+ incompatible with this CC-BY-4.0 repo. (Has been moved to our
598
+ companion NC repo
599
+ [`yxma/gelsight-mini-pretrain-nc`](https://huggingface.co/datasets/yxma/gelsight-mini-pretrain-nc),
600
+ where it is now superseded by `sparsh` — the same data at a larger
601
+ upstream snapshot.)
602
+ - **TVL — Touch-Vision-Language** (Yang et al. 2024) — has paired RGB +
603
+ caption labels. Not yet ingested. CC-BY-4.0; ~44K Mini frames available.
604
+ - **Touch and Go** (Yang et al. 2022) — has paired natural-scene RGB.
605
+ Not yet ingested. CC-BY-4.0; ~13K Mini frames available.
606
  - **YCB-Sight** — CC-BY-SA-4.0 (viral copyleft), and the sim is not
607
  Mini-calibrated. Not included.
608
  - **TACTO**, **MidasTouch**, **DiffTactile**, generic GelSight sims —
 
611
 
612
  ---
613
 
614
+ ## Channel-order normalization
615
+
616
+ Some upstream sources stored their RGB frames as **BGR**, which would
617
+ have produced color-inverted tactile patterns when loaded as RGB. We
618
+ fixed this by computing the mean per-channel (R, G, B) for every
619
+ subset, and unconditionally swapping R↔B for those where R > B at rest
620
+ (GelSight Mini's at-rest gel illumination has B > R consistently).
621
+
622
+ The affected subsets (now corrected to RGB) were:
623
+ - `fota_unlabeled` — globally BGR-stored upstream
624
+ - `unit` — globally BGR-stored upstream
625
+ - (NC repo) `faf_force_estimation` — globally BGR-stored
626
+ - (NC repo) `sparsh` — **mixed** (some files RGB, some BGR);
627
+ per-image conditional swap applied based on per-image R > B
628
+
629
+ The diagnostic is published as `assets/channel_order_diagnosis.json`
630
+ (both repos). After normalization, every image in both repos has
631
+ B > R at rest, matching the Mini's reference illumination geometry.
632
+
633
+ ---
634
+
635
  ## Aggregate statistics
636
 
637
  ![composition](assets/composition.png)
638
 
639
  | Subset | Domain | Frames | Bytes (GB) | Resolution | Markered | Markerless |
640
  |-----------------------|--------|--------:|-----------:|------------|---------:|-----------:|
641
+ | `fota_labeled` | real | 26,394 | 0.46 | 640 × 480 | 10,025 | 16,369 |
642
+ | `fota_unlabeled` | real | 66,761 | 3.02 | 640 × 480 | 36,592 | 30,169 |
643
+ | `threedcal` | real | 6,924 | 0.05 | 320 × 240 | 0 | 6,924 |
644
+ | `feats` | real | 16,969 | 0.28 | 320 × 240 | 16,969 | 0 |
645
+ | `gelslam` | real | 114,019 | 1.03 | 320 × 240 | 0 | 114,019 |
646
+ | `tactile_tracking` | real | 2,408 | 0.02 | 320 × 240 | 0 | 2,408 |
647
+ | `real_tactile_mnist` | real | 30,956 | 0.16 | 320 × 240 | 0 | 30,956 |
648
+ | `feelanyforce` | real | 48,197 | 0.45 | 320 × 240 | 0 | 48,197 |
649
+ | `unit` | real | 11,340 | 0.01 | 320 × 240 | 0 | 11,340 |
650
+ | `tacquad` | real | 12,195 | 0.11 | 320 × 240 | 0 | 12,195 |
651
+ | `sim_tactile_mnist` | sim | 150,601 | 1.28 | 320 × 240 | 0 | 150,601 |
652
+ | `sim_starstruck` | sim | 166,104 | 1.39 | 320 × 240 | 0 | 166,104 |
653
+ | **Real total** | | **536,163** | **~5.59** | | **63,586** | **472,577** |
654
+ | **Sim total** | | **316,705** | **~2.67** | | **0** | **316,705** |
655
+ | **Grand total** | | **852,868** | **~8.26** | | **63,586** | **789,282** |
656
 
657
  ![summary pies](assets/summary_pies.png)
658
 
 
662
 
663
  **Gel-variant pool sizes after aggregation:**
664
 
665
+ - **Markerless pool** (all `_*[markerless]` and pure-markerless subsets — `fota_*[markerless]` + `threedcal` + `gelslam` + `tactile_tracking` + `real_tactile_mnist` + `feelanyforce` + `unit` + `tacquad`): **472,577 real markerless frames** (789,282 if including sims)
666
+ - **Markered pool** (`feats` + `fota_labeled[markered]` + `fota_unlabeled[markered]`): **63,586 frames**
 
 
 
667
 
668
  Filter examples:
669