androidli commited on
Commit
1c67472
·
verified ·
1 Parent(s): 0af0c66

Add model/dataset card (README.md)

Browse files
Files changed (1) hide show
  1. README.md +78 -0
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: depth-cc-by-4.0-photos-mixed-per-source
4
+ task_categories:
5
+ - depth-estimation
6
+ - image-to-image
7
+ tags:
8
+ - depth
9
+ - pseudo-labels
10
+ - monocular-depth
11
+ - depth-anything-v2
12
+ - high-resolution
13
+ ---
14
+
15
+ # hires1920 Depth Backup
16
+
17
+ Cold backup of **high-resolution (1920×1088) monocular depth pseudo-labels** with their
18
+ source photographs — the high-res counterpart of the pipeline behind
19
+ [`androidli/photo-depth-pseudo-labels`](https://huggingface.co/datasets/androidli/photo-depth-pseudo-labels).
20
+ Published as-is so the exact arrays used in our experiments stay reproducible.
21
+
22
+ Depth labels were produced with a **Depth-Anything-V2** teacher over public photo-library
23
+ images (Wikimedia Commons / iNaturalist / Openverse / Pexels / Pixabay / Burst and
24
+ other collections).
25
+
26
+ ## Layout
27
+
28
+ | Path | Content |
29
+ |---|---|
30
+ | `hires1920/cold/` | 148 shards, ~145 GB — current generation (`shard_s0_*.npz`) |
31
+ | `hires1920/oldpool/` | 61 shards, ~60 GB — older generation kept for lineage (`shard_old_s0_*.npz`) |
32
+ | `quota_test.bin` | 1 MB LFS upload-test artifact — ignore |
33
+
34
+ Each ~1 GB `.npz` shard is self-contained and holds ~512 samples as object arrays:
35
+
36
+ | Array | Content |
37
+ |---|---|
38
+ | `id` | sample identifier |
39
+ | `box` | bounding box / crop metadata |
40
+ | `rgb_jpg` | the source photograph, JPEG bytes |
41
+ | `gt_b2` | depth ground truth, **blosc2-compressed float16**, 1088×1920 |
42
+
43
+ ```python
44
+ import io, blosc2, numpy as np
45
+ from PIL import Image
46
+ z = np.load("hires1920/cold/shard_s0_00030.npz", allow_pickle=True)
47
+ raw = z["rgb_jpg"][0] # JPEG bytes (object array)
48
+ rgb = np.asarray(Image.open(io.BytesIO(bytes(raw))).convert("RGB"))
49
+ gt = blosc2.decompress2(z["gt_b2"][0].tobytes())
50
+ depth = np.frombuffer(gt, dtype=np.float16).reshape(1088, 1920)
51
+ ```
52
+
53
+ ## Depth semantics
54
+
55
+ Depth-Anything raw convention: **larger value = farther, `0` = sky / invalid** (≈30% of
56
+ pixels can be 0). Relative depth only — no metric scale, no intrinsics.
57
+
58
+ ## License — please read
59
+
60
+ Split by component:
61
+
62
+ - **Depth arrays (`gt_b2`)** — our own derived outputs → **CC BY 4.0**.
63
+ - **Photographs (`rgb_jpg`)** — third-party images kept **as collected**, mixed licenses
64
+ per source; a large share was collected without a recorded license. **Do not assume
65
+ every photo is redistributable.** Per-sample provenance for the overlapping pipeline
66
+ is in `photo-depth-pseudo-labels/metadata/` (`index.csv`, `attribution.csv`);
67
+ treat this repo's photos as research-use until you check the source.
68
+
69
+ **If you are a rights holder and want samples removed, open an issue and they will be
70
+ deleted promptly.**
71
+
72
+ ## Limitations
73
+
74
+ - `oldpool/` is a legacy generation: expect format/quality drift vs `cold/`.
75
+ - `shard_s0_*` naming is an internal convention, not a stable contract; treat shard
76
+ indices as opaque.
77
+ - No per-sample `license` column inside the shards — join against the photo-depth
78
+ metadata for licensing detail.