koalapenguin commited on
Commit
44c2b6d
·
verified ·
1 Parent(s): 88f919b

sample/README: the observation tensor is not part of the subset

Browse files
Files changed (1) hide show
  1. sample/README.md +8 -11
sample/README.md CHANGED
@@ -9,15 +9,12 @@ for inspecting the data format without downloading terabytes.
9
  different physical sample sizes. The material ids present are the `material_<id>/`
10
  folders listed above.
11
  - Each material keeps ~12 HDR frames in `hdr.tar`, evenly subsampled from the full ~580.
12
- - Every other per-material file — `observations_structured.npz`, `point_positions.npz`,
13
- `rotated_camera.json`, `scan_log.json`, `point_metadata.json`, `bbox.json`,
14
- `hdr_crop_bboxes.json`, `unmatched_scan_ids.json` — is included **verbatim**, so array
15
- names, shapes and dtypes match the full release exactly.
16
-
17
- Note that `observations_structured.npz` here still indexes the *full* frame set: its
18
- `rgbs (K,V,3)` tensor has one row per registered frame, not one per frame kept in this
19
- `hdr.tar`. Use `scan_log.json` / `rotated_camera.json` to map the frames you do have back
20
- onto rows of the tensor.
21
 
22
  ## Mapping back to the full dataset
23
 
@@ -44,6 +41,6 @@ type in a material directory. Once this subset is downloaded, the same arrays lo
44
 
45
  ```python
46
  import numpy as np
47
- obs = np.load("robocloth-sample/sample/material_<id>/observations_structured.npz")
48
- print({k: (obs[k].shape, obs[k].dtype) for k in obs.files})
49
  ```
 
9
  different physical sample sizes. The material ids present are the `material_<id>/`
10
  folders listed above.
11
  - Each material keeps ~12 HDR frames in `hdr.tar`, evenly subsampled from the full ~580.
12
+ - The small per-material files — `point_positions.npz`, `rotated_camera.json`,
13
+ `scan_log.json`, `point_metadata.json`, `bbox.json`, `hdr_crop_bboxes.json`,
14
+ `unmatched_scan_ids.json` — are included **verbatim**, so names, shapes and dtypes match
15
+ the full release exactly.
16
+ - The per-point observation tensor `observations_structured.npz` (≈1 GB per material) is
17
+ **not** part of the sample; fetch it from `materials/<id>/` when you need it (see below).
 
 
 
18
 
19
  ## Mapping back to the full dataset
20
 
 
41
 
42
  ```python
43
  import numpy as np
44
+ pts = np.load("robocloth-sample/sample/material_<id>/point_positions.npz")
45
+ print({k: (pts[k].shape, pts[k].dtype) for k in pts.files})
46
  ```