koalapenguin commited on
Commit
7a48f74
·
verified ·
1 Parent(s): 95b0ae7

Point the card, croissant, example, sample README and Data Studio index at theialab/RoboCloth

Browse files
README.md CHANGED
@@ -30,7 +30,7 @@ configs:
30
 
31
  # RoboCloth
32
 
33
- ![Left: the robotic capture rig with one captured frame inset. Right: held-out RoboCloth materials path-traced as the sofa, curtain, pillow and carpet fabrics of a room scene.](https://huggingface.co/datasets/koalapenguin/RoboCloth-assets/resolve/main/media/teaser.png)
34
 
35
  **500 real cloth materials, each imaged in ≈580 calibrated 16-bit linear HDR frames by a
36
  robotic camera-and-light rig.** Two robot arms move the camera and a single LED over a
@@ -45,7 +45,7 @@ small MLP.
45
 
46
  - **Project page:** <https://theialab.github.io/robocloth/>
47
  - **Code:** <https://github.com/theialab/robocloth> (Apache-2.0)
48
- - **Checkpoints and render assets:** [`koalapenguin/RoboCloth-assets`](https://huggingface.co/datasets/koalapenguin/RoboCloth-assets)
49
  — pretrained decoders and self-contained, renderable per-material checkpoints (no capture
50
  data needed to render them)
51
 
@@ -53,7 +53,7 @@ small MLP.
53
 
54
  ```bash
55
  pip install -U huggingface_hub numpy pillow
56
- hf download koalapenguin/RoboCloth --repo-type dataset \
57
  --include "globals/*" --include "examples/*" --include "materials/145/*" --local-dir ./RoboCloth # one material, 3-10 GB
58
  python RoboCloth/examples/load_material.py --mid 145 # prints every array, extracts one frame from hdr.tar
59
  # (fetches through the Hub cache, not from ./RoboCloth)
@@ -61,7 +61,7 @@ python RoboCloth/examples/load_material.py --mid 145 # prints every array, ext
61
 
62
  ```python
63
  import numpy as np; from huggingface_hub import hf_hub_download
64
- obs = np.load(hf_hub_download("koalapenguin/RoboCloth", "materials/145/observations_structured.npz", repo_type="dataset"))
65
  rgbs, xyz = obs["rgbs"], obs["xyz"] # (K,V,3) uint16, 0 = unobserved · (V,3) float32 m
66
  cam_pos, light_pos = obs["cam_pos"], obs["light_pos"] # (K,3) float32 mm: robot-logged gripper / LED positions
67
  # (= scan_log.json), not the SfM camera centres
@@ -72,7 +72,7 @@ Quote every `--include` pattern. A 0.5 GB [sample subset](#whats-in-a-material-f
72
  more download recipes are under Details below.
73
 
74
 
75
- **Browse before downloading:** the *Data Studio* tab shows `index/robocloth_index.parquet`, one row per material: `thumbnail` (one frontal frame, rectified to the sample square), `split`, `width_cm` / `height_cm` (sample size), `frames` (HDR frames in `hdr.tar`), `lights` (distinct light positions), `observations` / `points` (rows and surface points of the observation tensor), `thumb_mean_srgb` (mean colour of the thumbnail — not an albedo), `hdr_frames_gb` (size of `hdr.tar`), `observation_tensor_gb` (size of `observations_structured.npz`), and links to the interactive viewer and the material's folder. To fetch a material you found there: `hf download koalapenguin/RoboCloth --repo-type dataset --include "globals/*" --include "materials/<id>/*" --local-dir ./RoboCloth`.
76
 
77
  ## What's in a material folder
78
 
@@ -197,7 +197,7 @@ the include filter.
197
  Sample subset plus all calibration and split files (≈0.5 GB):
198
 
199
  ```bash
200
- hf download koalapenguin/RoboCloth --repo-type dataset \
201
  --include "sample/*" --include "globals/*" --include "examples/*" \
202
  --local-dir ./robocloth-sample
203
  ```
@@ -205,7 +205,7 @@ hf download koalapenguin/RoboCloth --repo-type dataset \
205
  Sparse only (≈490 GB) — everything stage-1 decoder training needs, without the HDR frames:
206
 
207
  ```bash
208
- hf download koalapenguin/RoboCloth --repo-type dataset \
209
  --include "globals/*" \
210
  --include "materials/*/observations_structured.npz" \
211
  --include "materials/*/scan_log.json" \
@@ -217,7 +217,7 @@ hf download koalapenguin/RoboCloth --repo-type dataset \
217
  Everything (3.39 TB):
218
 
219
  ```bash
220
- hf download koalapenguin/RoboCloth --repo-type dataset --local-dir ./RoboCloth
221
  ```
222
 
223
  The code repository wraps these in `scripts/download_material.sh <id>`,
 
30
 
31
  # RoboCloth
32
 
33
+ ![Left: the robotic capture rig with one captured frame inset. Right: held-out RoboCloth materials path-traced as the sofa, curtain, pillow and carpet fabrics of a room scene.](https://huggingface.co/datasets/theialab/RoboCloth-assets/resolve/main/media/teaser.png)
34
 
35
  **500 real cloth materials, each imaged in ≈580 calibrated 16-bit linear HDR frames by a
36
  robotic camera-and-light rig.** Two robot arms move the camera and a single LED over a
 
45
 
46
  - **Project page:** <https://theialab.github.io/robocloth/>
47
  - **Code:** <https://github.com/theialab/robocloth> (Apache-2.0)
48
+ - **Checkpoints and render assets:** [`theialab/RoboCloth-assets`](https://huggingface.co/datasets/theialab/RoboCloth-assets)
49
  — pretrained decoders and self-contained, renderable per-material checkpoints (no capture
50
  data needed to render them)
51
 
 
53
 
54
  ```bash
55
  pip install -U huggingface_hub numpy pillow
56
+ hf download theialab/RoboCloth --repo-type dataset \
57
  --include "globals/*" --include "examples/*" --include "materials/145/*" --local-dir ./RoboCloth # one material, 3-10 GB
58
  python RoboCloth/examples/load_material.py --mid 145 # prints every array, extracts one frame from hdr.tar
59
  # (fetches through the Hub cache, not from ./RoboCloth)
 
61
 
62
  ```python
63
  import numpy as np; from huggingface_hub import hf_hub_download
64
+ obs = np.load(hf_hub_download("theialab/RoboCloth", "materials/145/observations_structured.npz", repo_type="dataset"))
65
  rgbs, xyz = obs["rgbs"], obs["xyz"] # (K,V,3) uint16, 0 = unobserved · (V,3) float32 m
66
  cam_pos, light_pos = obs["cam_pos"], obs["light_pos"] # (K,3) float32 mm: robot-logged gripper / LED positions
67
  # (= scan_log.json), not the SfM camera centres
 
72
  more download recipes are under Details below.
73
 
74
 
75
+ **Browse before downloading:** the *Data Studio* tab shows `index/robocloth_index.parquet`, one row per material: `thumbnail` (one frontal frame, rectified to the sample square), `split`, `width_cm` / `height_cm` (sample size), `frames` (HDR frames in `hdr.tar`), `lights` (distinct light positions), `observations` / `points` (rows and surface points of the observation tensor), `thumb_mean_srgb` (mean colour of the thumbnail — not an albedo), `hdr_frames_gb` (size of `hdr.tar`), `observation_tensor_gb` (size of `observations_structured.npz`), and links to the interactive viewer and the material's folder. To fetch a material you found there: `hf download theialab/RoboCloth --repo-type dataset --include "globals/*" --include "materials/<id>/*" --local-dir ./RoboCloth`.
76
 
77
  ## What's in a material folder
78
 
 
197
  Sample subset plus all calibration and split files (≈0.5 GB):
198
 
199
  ```bash
200
+ hf download theialab/RoboCloth --repo-type dataset \
201
  --include "sample/*" --include "globals/*" --include "examples/*" \
202
  --local-dir ./robocloth-sample
203
  ```
 
205
  Sparse only (≈490 GB) — everything stage-1 decoder training needs, without the HDR frames:
206
 
207
  ```bash
208
+ hf download theialab/RoboCloth --repo-type dataset \
209
  --include "globals/*" \
210
  --include "materials/*/observations_structured.npz" \
211
  --include "materials/*/scan_log.json" \
 
217
  Everything (3.39 TB):
218
 
219
  ```bash
220
+ hf download theialab/RoboCloth --repo-type dataset --local-dir ./RoboCloth
221
  ```
222
 
223
  The code repository wraps these in `scripts/download_material.sh <id>`,
croissant.jsonld CHANGED
@@ -220,7 +220,7 @@
220
  "@id": "globals-camera-factor-json",
221
  "name": "globals-camera-factor-json",
222
  "description": "Per-material exposure-regime index (camera_factor_segments: id ranges -> factor 1, 2 or 3).",
223
- "contentUrl": "https://huggingface.co/datasets/koalapenguin/RoboCloth/resolve/main/globals/camera_factor.json",
224
  "encodingFormat": "application/json",
225
  "contentSize": "3923 B",
226
  "sha256": "442a5494166ae9b61f428920f6b4ec4178e5aa671f521a674c37fa8a12a5451a"
@@ -230,7 +230,7 @@
230
  "@id": "globals-emitter-calibration-json",
231
  "name": "globals-emitter-calibration-json",
232
  "description": "Light emitter intensity profile by angular position (degrees).",
233
- "contentUrl": "https://huggingface.co/datasets/koalapenguin/RoboCloth/resolve/main/globals/emitter_calibration.json",
234
  "encodingFormat": "application/json",
235
  "contentSize": "3027 B",
236
  "sha256": "78e263ce2c7095c1abd9cf4ab194407141974912a56c4199fe40ca71de1a8d41"
@@ -240,7 +240,7 @@
240
  "@id": "globals-sample-size-json",
241
  "name": "globals-sample-size-json",
242
  "description": "Physical sample width and length (m) per material-id range, used to crop the point cloud.",
243
- "contentUrl": "https://huggingface.co/datasets/koalapenguin/RoboCloth/resolve/main/globals/sample_size.json",
244
  "encodingFormat": "application/json",
245
  "contentSize": "7142 B",
246
  "sha256": "190f83e9a86da3ead2f435017d0506898ae001d5b9fa66fee2d24711ef54a81f"
@@ -250,7 +250,7 @@
250
  "@id": "globals-training-list-100-txt",
251
  "name": "globals-training-list-100-txt",
252
  "description": "Training material ids for the 100-material subset.",
253
- "contentUrl": "https://huggingface.co/datasets/koalapenguin/RoboCloth/resolve/main/globals/training_list_100.txt",
254
  "encodingFormat": "text/plain",
255
  "contentSize": "299 B",
256
  "sha256": "7cf26c4900a3760ad1489a2e890f81aaa9da0dad87fec946c220fd1bce9c4fa7"
@@ -260,7 +260,7 @@
260
  "@id": "globals-training-list-300-txt",
261
  "name": "globals-training-list-300-txt",
262
  "description": "Training material ids for the 300-material subset.",
263
- "contentUrl": "https://huggingface.co/datasets/koalapenguin/RoboCloth/resolve/main/globals/training_list_300.txt",
264
  "encodingFormat": "text/plain",
265
  "contentSize": "901 B",
266
  "sha256": "74da0f01bdfde6a57180f51799bf85666117e6863145dc27048bdf720954c552"
@@ -270,7 +270,7 @@
270
  "@id": "globals-training-list-442-txt",
271
  "name": "globals-training-list-442-txt",
272
  "description": "Training material ids for the 442-material subset.",
273
- "contentUrl": "https://huggingface.co/datasets/koalapenguin/RoboCloth/resolve/main/globals/training_list_442.txt",
274
  "encodingFormat": "text/plain",
275
  "contentSize": "1330 B",
276
  "sha256": "4c8399b8daddefe8e3b4c28e8105608e4a146c0693a5e928983be77a308ad885"
@@ -280,7 +280,7 @@
280
  "@id": "globals-training-list-500-txt",
281
  "name": "globals-training-list-500-txt",
282
  "description": "Training material ids for the full 500-material set.",
283
- "contentUrl": "https://huggingface.co/datasets/koalapenguin/RoboCloth/resolve/main/globals/training_list_500.txt",
284
  "encodingFormat": "text/plain",
285
  "contentSize": "1516 B",
286
  "sha256": "921fae5ed3429df0dd1c910294adcd287b529dba266f3c1a86ed9e26f2e4fa99"
@@ -290,7 +290,7 @@
290
  "@id": "globals-test-list-100-txt",
291
  "name": "globals-test-list-100-txt",
292
  "description": "Test material ids for the 100-material subset.",
293
- "contentUrl": "https://huggingface.co/datasets/koalapenguin/RoboCloth/resolve/main/globals/test_list_100.txt",
294
  "encodingFormat": "text/plain",
295
  "contentSize": "75 B",
296
  "sha256": "94c42c05331ab0b9b61d80feceb351e7dea5bf44b962a494b6f453626f45383b"
@@ -300,7 +300,7 @@
300
  "@id": "globals-test-list-300-txt",
301
  "name": "globals-test-list-300-txt",
302
  "description": "Test material ids for the 300-material subset.",
303
- "contentUrl": "https://huggingface.co/datasets/koalapenguin/RoboCloth/resolve/main/globals/test_list_300.txt",
304
  "encodingFormat": "text/plain",
305
  "contentSize": "225 B",
306
  "sha256": "cf9b7d31e305446238b82635c9da4b63c293b36907ee31847e6061a314d7691b"
@@ -310,7 +310,7 @@
310
  "@id": "globals-test-list-442-txt",
311
  "name": "globals-test-list-442-txt",
312
  "description": "Test material ids for the 442-material subset.",
313
- "contentUrl": "https://huggingface.co/datasets/koalapenguin/RoboCloth/resolve/main/globals/test_list_442.txt",
314
  "encodingFormat": "text/plain",
315
  "contentSize": "331 B",
316
  "sha256": "fdd6e41703c405661c85dbf906ba2cc6b17be830ed7e9b10f0ada755bc7976e5"
@@ -320,7 +320,7 @@
320
  "@id": "globals-test-list-500-txt",
321
  "name": "globals-test-list-500-txt",
322
  "description": "Test material ids for the full 500-material set.",
323
- "contentUrl": "https://huggingface.co/datasets/koalapenguin/RoboCloth/resolve/main/globals/test_list_500.txt",
324
  "encodingFormat": "text/plain",
325
  "contentSize": "374 B",
326
  "sha256": "b50fd5522559e311eb5423ae673865ec9ab8e86a237ae829a8c5b27c6eaeb565"
@@ -374,6 +374,6 @@
374
  ],
375
  "sameAs": [
376
  "https://github.com/theialab/robocloth",
377
- "https://huggingface.co/datasets/koalapenguin/RoboCloth"
378
  ]
379
  }
 
220
  "@id": "globals-camera-factor-json",
221
  "name": "globals-camera-factor-json",
222
  "description": "Per-material exposure-regime index (camera_factor_segments: id ranges -> factor 1, 2 or 3).",
223
+ "contentUrl": "https://huggingface.co/datasets/theialab/RoboCloth/resolve/main/globals/camera_factor.json",
224
  "encodingFormat": "application/json",
225
  "contentSize": "3923 B",
226
  "sha256": "442a5494166ae9b61f428920f6b4ec4178e5aa671f521a674c37fa8a12a5451a"
 
230
  "@id": "globals-emitter-calibration-json",
231
  "name": "globals-emitter-calibration-json",
232
  "description": "Light emitter intensity profile by angular position (degrees).",
233
+ "contentUrl": "https://huggingface.co/datasets/theialab/RoboCloth/resolve/main/globals/emitter_calibration.json",
234
  "encodingFormat": "application/json",
235
  "contentSize": "3027 B",
236
  "sha256": "78e263ce2c7095c1abd9cf4ab194407141974912a56c4199fe40ca71de1a8d41"
 
240
  "@id": "globals-sample-size-json",
241
  "name": "globals-sample-size-json",
242
  "description": "Physical sample width and length (m) per material-id range, used to crop the point cloud.",
243
+ "contentUrl": "https://huggingface.co/datasets/theialab/RoboCloth/resolve/main/globals/sample_size.json",
244
  "encodingFormat": "application/json",
245
  "contentSize": "7142 B",
246
  "sha256": "190f83e9a86da3ead2f435017d0506898ae001d5b9fa66fee2d24711ef54a81f"
 
250
  "@id": "globals-training-list-100-txt",
251
  "name": "globals-training-list-100-txt",
252
  "description": "Training material ids for the 100-material subset.",
253
+ "contentUrl": "https://huggingface.co/datasets/theialab/RoboCloth/resolve/main/globals/training_list_100.txt",
254
  "encodingFormat": "text/plain",
255
  "contentSize": "299 B",
256
  "sha256": "7cf26c4900a3760ad1489a2e890f81aaa9da0dad87fec946c220fd1bce9c4fa7"
 
260
  "@id": "globals-training-list-300-txt",
261
  "name": "globals-training-list-300-txt",
262
  "description": "Training material ids for the 300-material subset.",
263
+ "contentUrl": "https://huggingface.co/datasets/theialab/RoboCloth/resolve/main/globals/training_list_300.txt",
264
  "encodingFormat": "text/plain",
265
  "contentSize": "901 B",
266
  "sha256": "74da0f01bdfde6a57180f51799bf85666117e6863145dc27048bdf720954c552"
 
270
  "@id": "globals-training-list-442-txt",
271
  "name": "globals-training-list-442-txt",
272
  "description": "Training material ids for the 442-material subset.",
273
+ "contentUrl": "https://huggingface.co/datasets/theialab/RoboCloth/resolve/main/globals/training_list_442.txt",
274
  "encodingFormat": "text/plain",
275
  "contentSize": "1330 B",
276
  "sha256": "4c8399b8daddefe8e3b4c28e8105608e4a146c0693a5e928983be77a308ad885"
 
280
  "@id": "globals-training-list-500-txt",
281
  "name": "globals-training-list-500-txt",
282
  "description": "Training material ids for the full 500-material set.",
283
+ "contentUrl": "https://huggingface.co/datasets/theialab/RoboCloth/resolve/main/globals/training_list_500.txt",
284
  "encodingFormat": "text/plain",
285
  "contentSize": "1516 B",
286
  "sha256": "921fae5ed3429df0dd1c910294adcd287b529dba266f3c1a86ed9e26f2e4fa99"
 
290
  "@id": "globals-test-list-100-txt",
291
  "name": "globals-test-list-100-txt",
292
  "description": "Test material ids for the 100-material subset.",
293
+ "contentUrl": "https://huggingface.co/datasets/theialab/RoboCloth/resolve/main/globals/test_list_100.txt",
294
  "encodingFormat": "text/plain",
295
  "contentSize": "75 B",
296
  "sha256": "94c42c05331ab0b9b61d80feceb351e7dea5bf44b962a494b6f453626f45383b"
 
300
  "@id": "globals-test-list-300-txt",
301
  "name": "globals-test-list-300-txt",
302
  "description": "Test material ids for the 300-material subset.",
303
+ "contentUrl": "https://huggingface.co/datasets/theialab/RoboCloth/resolve/main/globals/test_list_300.txt",
304
  "encodingFormat": "text/plain",
305
  "contentSize": "225 B",
306
  "sha256": "cf9b7d31e305446238b82635c9da4b63c293b36907ee31847e6061a314d7691b"
 
310
  "@id": "globals-test-list-442-txt",
311
  "name": "globals-test-list-442-txt",
312
  "description": "Test material ids for the 442-material subset.",
313
+ "contentUrl": "https://huggingface.co/datasets/theialab/RoboCloth/resolve/main/globals/test_list_442.txt",
314
  "encodingFormat": "text/plain",
315
  "contentSize": "331 B",
316
  "sha256": "fdd6e41703c405661c85dbf906ba2cc6b17be830ed7e9b10f0ada755bc7976e5"
 
320
  "@id": "globals-test-list-500-txt",
321
  "name": "globals-test-list-500-txt",
322
  "description": "Test material ids for the full 500-material set.",
323
+ "contentUrl": "https://huggingface.co/datasets/theialab/RoboCloth/resolve/main/globals/test_list_500.txt",
324
  "encodingFormat": "text/plain",
325
  "contentSize": "374 B",
326
  "sha256": "b50fd5522559e311eb5423ae673865ec9ab8e86a237ae829a8c5b27c6eaeb565"
 
374
  ],
375
  "sameAs": [
376
  "https://github.com/theialab/robocloth",
377
+ "https://huggingface.co/datasets/theialab/RoboCloth"
378
  ]
379
  }
examples/load_material.py CHANGED
@@ -19,7 +19,7 @@ import tarfile
19
  import numpy as np
20
  from huggingface_hub import hf_hub_download
21
 
22
- REPO_ID = "koalapenguin/RoboCloth"
23
  REPO_TYPE = "dataset"
24
 
25
 
 
19
  import numpy as np
20
  from huggingface_hub import hf_hub_download
21
 
22
+ REPO_ID = "theialab/RoboCloth"
23
  REPO_TYPE = "dataset"
24
 
25
 
index/robocloth_index.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4e872f79947eb9cf19d6405d0f37c1fbda6c25601e39643038b6332a2bbbb3c1
3
- size 11442842
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af18e6e8314a115bf30fbc4b58d489ac9bd6db090125e7f1c4b184bbec1092c9
3
+ size 11438603
sample/README.md CHANGED
@@ -1,6 +1,6 @@
1
  # RoboCloth — sample subset
2
 
3
- A small, self-contained slice of [RoboCloth](https://huggingface.co/datasets/koalapenguin/RoboCloth)
4
  for inspecting the data format without downloading terabytes.
5
 
6
  ## What is here
@@ -22,14 +22,14 @@ for inspecting the data format without downloading terabytes.
22
  same material at full size:
23
 
24
  ```bash
25
- hf download koalapenguin/RoboCloth --repo-type dataset \
26
  --include "globals/*" --include "materials/<id>/*" --local-dir ./RoboCloth
27
  ```
28
 
29
  ## Download just this subset
30
 
31
  ```bash
32
- hf download koalapenguin/RoboCloth --repo-type dataset \
33
  --include "sample/*" --include "globals/*" --include "examples/*" \
34
  --local-dir ./robocloth-sample
35
  ```
 
1
  # RoboCloth — sample subset
2
 
3
+ A small, self-contained slice of [RoboCloth](https://huggingface.co/datasets/theialab/RoboCloth)
4
  for inspecting the data format without downloading terabytes.
5
 
6
  ## What is here
 
22
  same material at full size:
23
 
24
  ```bash
25
+ hf download theialab/RoboCloth --repo-type dataset \
26
  --include "globals/*" --include "materials/<id>/*" --local-dir ./RoboCloth
27
  ```
28
 
29
  ## Download just this subset
30
 
31
  ```bash
32
+ hf download theialab/RoboCloth --repo-type dataset \
33
  --include "sample/*" --include "globals/*" --include "examples/*" \
34
  --local-dir ./robocloth-sample
35
  ```