jonfroehlich commited on
Commit
63d5ffd
·
verified ·
1 Parent(s): b88b095

Fix the galleries join key: rows now carry crop_id, pano_id and the detection's x/y (#21)

Browse files
README.md CHANGED
@@ -102,9 +102,9 @@ configs:
102
  > [`rampnet-dataset`](https://huggingface.co/datasets/projectsidewalk/rampnet-dataset)), drawn from
103
  > the same three training cities.
104
  >
105
- > These 9 city splits were built **eleven months later**, between 2026-07-22 and
106
- > 2026-07-31, as post-publication work: to test the published model on cities and imagery sources
107
- > it was never trained on, and to compare it against VLM detectors.
108
  >
109
  > **Use this to evaluate RampNet. Do not cite it as the paper's evaluation** — the ground truth,
110
  > the cities, and the matching protocol all differ, so numbers measured here are not comparable
@@ -129,7 +129,7 @@ precision figure, because several splits carry caveats the numbers alone do not
129
  | **`records`** | **the ground truth** — per-panorama metadata, model detections with their human verdict, and reviewer-marked missed ramps | scoring any model against this benchmark |
130
  | `native` | the panoramas exactly as fetched — 4096 to 16384 px wide, depending on city and imagery source | the resolution experiment; any re-render at higher fidelity |
131
  | `4096x2048` | the same panoramas at the model's input size | **what ground-truth reviewers actually saw** — `gt_gallery.py` renders at 4096×2048 and never native, so this is the config a second rater needs |
132
- | `galleries` | the incremental false-positive crops shown in the operating-point A/B pass | redoing that A/B |
133
 
134
  ### The `records` config
135
 
@@ -180,16 +180,31 @@ by_id = {r["pano_id"]: r["image"] for r in px}
180
  image = by_id[gt[0]["pano_id"]]
181
  ```
182
 
183
- Each row of an **imagery** config carries:
184
 
185
  | column | meaning |
186
  | :--- | :--- |
187
- | `pano_id` | panorama id — the join key to `benchmark/<city>/records.jsonl` in git |
188
  | `city` | split name |
189
  | `image` | the image, stored as the **exact source bytes**, not re-encoded on write |
190
  | `width`, `height` | pixel dimensions as stored |
191
  | `sha256` | hash of those exact bytes |
192
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
193
  ## Verifying you have the pixels the reviewers judged
194
 
195
  Same pano id and filename is **not** evidence the bytes are the ones a reviewer saw — a re-fetch
@@ -211,8 +226,8 @@ python scripts/analysis/imagery_manifest.py --verify
211
 
212
  | Field | Value |
213
  | :--- | :--- |
214
- | Benchmark code and labels | https://github.com/ProjectSidewalk/RampNet @ `94be2c3` |
215
- | Exported | 2026-08-04 by `scripts/export_benchmark.py` |
216
  | Replication ledger | [`docs/replication.md`](https://github.com/ProjectSidewalk/RampNet/blob/main/docs/replication.md) |
217
  | How a split is built and reviewed | [`docs/adding_a_benchmark_city.md`](https://github.com/ProjectSidewalk/RampNet/blob/main/docs/adding_a_benchmark_city.md) |
218
 
 
102
  > [`rampnet-dataset`](https://huggingface.co/datasets/projectsidewalk/rampnet-dataset)), drawn from
103
  > the same three training cities.
104
  >
105
+ > These 9 city splits were built **eleven months later**, between 2026-07-22 and 2026-08-01, as
106
+ > post-publication work: to test the published model on cities and imagery sources it was never
107
+ > trained on, and to compare it against VLM detectors.
108
  >
109
  > **Use this to evaluate RampNet. Do not cite it as the paper's evaluation** — the ground truth,
110
  > the cities, and the matching protocol all differ, so numbers measured here are not comparable
 
129
  | **`records`** | **the ground truth** — per-panorama metadata, model detections with their human verdict, and reviewer-marked missed ramps | scoring any model against this benchmark |
130
  | `native` | the panoramas exactly as fetched — 4096 to 16384 px wide, depending on city and imagery source | the resolution experiment; any re-render at higher fidelity |
131
  | `4096x2048` | the same panoramas at the model's input size | **what ground-truth reviewers actually saw** — `gt_gallery.py` renders at 4096×2048 and never native, so this is the config a second rater needs |
132
+ | `galleries` | the incremental false-positive crops shown in the operating-point A/B pass — 314 crops over the same 9 splits | redoing that A/B |
133
 
134
  ### The `records` config
135
 
 
180
  image = by_id[gt[0]["pano_id"]]
181
  ```
182
 
183
+ Each row of the **`native`** and **`4096x2048`** configs carries:
184
 
185
  | column | meaning |
186
  | :--- | :--- |
187
+ | `pano_id` | panorama id — the join key to `records`, and to `benchmark/<city>/records.jsonl` in git |
188
  | `city` | split name |
189
  | `image` | the image, stored as the **exact source bytes**, not re-encoded on write |
190
  | `width`, `height` | pixel dimensions as stored |
191
  | `sha256` | hash of those exact bytes |
192
 
193
+ **`galleries` rows are crops of a single detection, not panoramas**, so they carry both ids:
194
+
195
+ | column | meaning |
196
+ | :--- | :--- |
197
+ | `crop_id` | the crop's own tag, `<pano_id>_<x>_<y>` — unique per detection, **not** a panorama id |
198
+ | `pano_id` | the panorama the crop came from, parsed out of `crop_id`; this is the join key |
199
+ | `x_normalized`, `y_normalized` | where in that panorama the detection sits, matching the `detections` entry in `records` |
200
+ | `city`, `image`, `width`, `height`, `sha256` | as above |
201
+
202
+ ```python
203
+ # every A/B crop that came from one panorama
204
+ crops = load_dataset("projectsidewalk/rampnet-benchmark", "galleries", split="paterson")
205
+ mine = [c for c in crops if c["pano_id"] == gt[0]["pano_id"]]
206
+ ```
207
+
208
  ## Verifying you have the pixels the reviewers judged
209
 
210
  Same pano id and filename is **not** evidence the bytes are the ones a reviewer saw — a re-fetch
 
226
 
227
  | Field | Value |
228
  | :--- | :--- |
229
+ | Benchmark code and labels | https://github.com/ProjectSidewalk/RampNet @ `d7aeda4-dirty` |
230
+ | Exported | 2026-08-17 by `scripts/export_benchmark.py` |
231
  | Replication ledger | [`docs/replication.md`](https://github.com/ProjectSidewalk/RampNet/blob/main/docs/replication.md) |
232
  | How a split is built and reviewed | [`docs/adding_a_benchmark_city.md`](https://github.com/ProjectSidewalk/RampNet/blob/main/docs/adding_a_benchmark_city.md) |
233
 
build_manifest.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "configs": {
3
+ "4096x2048": [
4
+ "annapolis",
5
+ "bend",
6
+ "budapest_district5",
7
+ "clovis",
8
+ "gainesville",
9
+ "morgantown",
10
+ "paterson",
11
+ "richmond",
12
+ "sao_paulo"
13
+ ],
14
+ "galleries": [
15
+ "annapolis",
16
+ "bend",
17
+ "budapest_district5",
18
+ "clovis",
19
+ "gainesville",
20
+ "morgantown",
21
+ "paterson",
22
+ "richmond",
23
+ "sao_paulo"
24
+ ],
25
+ "native": [
26
+ "annapolis",
27
+ "bend",
28
+ "budapest_district5",
29
+ "clovis",
30
+ "gainesville",
31
+ "morgantown",
32
+ "paterson",
33
+ "richmond",
34
+ "sao_paulo"
35
+ ],
36
+ "records": [
37
+ "annapolis",
38
+ "bend",
39
+ "budapest_district5",
40
+ "clovis",
41
+ "gainesville",
42
+ "morgantown",
43
+ "paterson",
44
+ "richmond",
45
+ "sao_paulo"
46
+ ]
47
+ },
48
+ "sizes": {
49
+ "4096x2048": 1004887341,
50
+ "galleries": 399578953,
51
+ "native": 10007418814,
52
+ "records": 179356
53
+ },
54
+ "git_commit": "d7aeda4-dirty",
55
+ "written_at": "2026-08-17"
56
+ }
data/galleries/annapolis.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f2b021094af945dc2c4842f07dfb3289c5b4debfe3b8b1715b421905f0d9b155
3
- size 36664548
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1cfb888fe25e58c974c622f254735c3e6d41707c1e786981d52c7ada334e2f9
3
+ size 36670632
data/galleries/bend.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cb97c5988665bef1c421ab2be93cae2eab3a360ebcb95dbbd975f36730c998d1
3
- size 36887975
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:888289b7531dc50398f4614daa9ce358eb16aeadef97f3fc44c811f06bbd8b70
3
+ size 36893658
data/galleries/budapest_district5.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f4a25055745ec619d5a00e203bf36b1993985062b0aa41904f8684766d7c703a
3
- size 99786960
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a3690a34972abc22726074235e43ed15eb8115f37994c3764808b2ee5e8622c
3
+ size 99805181
data/galleries/clovis.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:02af861ef6f4a09f94dd791fdbe336407506efa5c2678d5c1c1ba34091ff77ca
3
- size 29218795
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e113de5436abc27fccf3afeadcce6697336b1642e1d056b94930d2046625ee3c
3
+ size 29224029
data/galleries/gainesville.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:af98bd587a58692371ce883921aaff8a547636c7f2e9c6add4923fe5aafc32c6
3
- size 50876166
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e3fc3b9563f35b2909399e7901d29e5f1c4b4ae920903c26ed3f9684d1148af
3
+ size 50884227
data/galleries/morgantown.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b74f04d3f098a1bd6c8ed35b4cc4b8bd084f7839d811573b2d30d159ce8817e4
3
- size 23550115
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2eb008d8c56a5967b71f4071016833a309358d5aed77e90b38dbb70a3a9c612
3
+ size 23556856
data/galleries/paterson.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b0fb802631073df6b2618797395bed524c66b410e23463d393e7dc6195deed71
3
- size 15572460
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1257aaff7c34c14bd902cc810e511232bc52ac2489da4d75d53f0573dc181fd3
3
+ size 15575561
data/galleries/richmond.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:354aae9c1b3f79b8758015fd2451ad2ab69bb24fa020a104cd9b4e12aaec178e
3
- size 30713561
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4dfeae8f289931047dbe501bee316ed864c6454f9283b354a01f9b5db8c4fdcd
3
+ size 30720361
data/galleries/sao_paulo.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:70d5a2baac3b1413498b69c2a8f8a6311deae8d365428d018a87c609994b9f89
3
- size 76237829
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e97123c2f57288acfad8fd8f7734247a57088f4eff8cc0bf0038d121e5f6430f
3
+ size 76248448