rishabh-sat commited on
Commit
d2edf8e
·
verified ·
1 Parent(s): 43328f2

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +98 -0
README.md ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: Walkability Project — High-resolution Land Cover (Chesapeake, Poland, Abu Dhabi)
3
+ license: other
4
+ task_categories:
5
+ - image-segmentation
6
+ tags:
7
+ - remote-sensing
8
+ - land-cover
9
+ - satellite-imagery
10
+ - aerial-imagery
11
+ - semantic-segmentation
12
+ - weak-supervision
13
+ - paraformer
14
+ - sam3
15
+ - dinov3
16
+ size_categories:
17
+ - 10K<n<100K
18
+ ---
19
+
20
+ # Walkability Project — High-resolution Land Cover
21
+
22
+ Everything from a research project on **label-efficient, high-resolution land cover mapping**, the first step towards walkability analysis. It includes the code, the datasets, trained checkpoints, evaluation outputs, slides and a paper draft.
23
+
24
+ The core work reproduces and extends **Paraformer** (*"Learning without Exact Guidance: Updating Large-scale High-resolution Land Cover Maps from Low-resolution Historical Labels"*, CVPR 2024, arXiv 2403.02746). Paraformer trains 1 m land cover models using only low-resolution historical labels (30 m NLCD) and scores them against high-resolution ground truth. This project adds DINOv3, SAM 3 and DOFA backbones and fusion heads, RGB-only and distilled small models, Poland experiments, and a first look at Abu Dhabi imagery.
25
+
26
+ Total size is about **421 GB** in about 43.6k files. The folder layout matches the original working directory, so the scripts' relative paths still work.
27
+
28
+ ## Repository layout
29
+
30
+ | Path | Size | Contents |
31
+ |---|---|---|
32
+ | `data/abu_dhabi_y_2026_z_18_patch_4096/` | 228 GB | 12,653 RGB patches (4096 × 4096 px, zoom level 18, about 0.54 m/px, 2026) covering the Emirate of Abu Dhabi, named `r<row>_c<col>_2026.png`, plus `download_report_*.csv` |
33
+ | `data/chesapeake/` | 70 GB | Chesapeake Bay land cover (CVPR 2019) for 6 states (`de`, `md`, `ny`, `pa`, `va`, `wv`), with train/val/test tiles per state: NAIP 4-band imagery, NLCD labels, and 1 m CCLC ground truth |
34
+ | `data/poland/` | 1.5 GB | Poland dataset from the Paraformer paper: `HR_image`, `HR_ground_truth`, and four 10 m label products (`ESA_GLC10`, `Esri_GLC10`, `FORM_GLC10`, `GLC_FCS30`) |
35
+ | `Paraformer_hr_landcover/` | 122 GB | Fork of the Paraformer code (Apache-2.0) with the extensions; see its own `README.md` for a guide to each file |
36
+ | `Paraformer_hr_landcover/runs/` | (in the above) | All training runs: checkpoints (`epoch_N.pth`, `latest.pth`), logs, evaluation CSVs/JSON, SAM 3 / DOFA feature caches, figures |
37
+ | `slides/` | 50 MB | Result decks (`slides_chesapeake.pdf`, `slide_v2_mine.pdf`) and the scripts and notebook that build them |
38
+ | `weak_supervision_lr_chesapeake/` | 34 MB | Paper draft (`main.tex`, `main.pdf`) and figures |
39
+ | `gemini_argon_abudhabi/` | 41 MB | Zero-shot test of a Gemini model for 7-class segmentation of Abu Dhabi crops (prompts, scripts, outputs). The API key is read from `~/.env` and is **not** included |
40
+ | `scripts/chesapeake/` | — | Download, verification and CSV-building scripts for the Chesapeake data |
41
+ | `memory/`, `runs_misc/` | — | Project notes and small utility scripts |
42
+
43
+ ## Chesapeake data details
44
+
45
+ - **Source:** LILA / Microsoft, `lcmcvpr2019/cvpr_chesapeake_landcover`. Years are 2013, except Virginia and West Virginia, which are 2014.
46
+ - **Split:** the dataset's own split, 100 / 5 / 20 tiles per state (Delaware has 82 train tiles). The CSVs are in `Paraformer_hr_landcover/dataset/CSV_list/Chesapeake_all_{train,val,test}.csv` (582 / 30 / 120 rows).
47
+ - **Ground truth (`_lc.tif`):** 6 aggregated classes: 1 water, 2 tree canopy + shrubs, 3 low vegetation, 4 barren, 5 impervious surfaces, 6 impervious roads, 15 nodata.
48
+ - **Training labels:** only NLCD `_nlcd.tif`, at 30 m upsampled to the 1 m grid. The high-resolution CCLC labels are used **only for evaluation**.
49
+ - **Evaluation:** mIoU over 4 unified classes (built-up, tree canopy, low vegetation, water) using the class mapping from the paper's Table S1. See `eval_metrics.py`.
50
+
51
+ ## Headline results (Chesapeake test set, mean mIoU over 6 states)
52
+
53
+ | Model | Test mIoU |
54
+ |---|---|
55
+ | Paraformer (paper) | 64.65 |
56
+ | Base: this reproduction, ViT-B/16 + L2HNet, epoch 40 chosen on val | 63.21 |
57
+ | Model 6: Base features + SAM 3 + DOFA + NDVI fusion head (label-free) | 66.07 |
58
+ | Base + SAM 3 rule overlay (settings chosen on val) | 68.41 |
59
+ | Model 10: RGB-only MapOT | 63.58 |
60
+ | Model 8: RGB-only distilled Paraformer-S (26.8 M params) | 59.90 |
61
+
62
+ The full per-state and per-class tables are in `slides/slides_chesapeake.pdf` and `Paraformer_hr_landcover/runs/*_results_tableS1.csv`.
63
+
64
+ ## Download
65
+
66
+ ```bash
67
+ pip install -U huggingface_hub
68
+ # everything (~421 GB)
69
+ hf download rishabh-sat/walkability-project --repo-type dataset --local-dir walkability-project
70
+ # only the code and the Poland data
71
+ hf download rishabh-sat/walkability-project --repo-type dataset --local-dir walkability-project \
72
+ --include "Paraformer_hr_landcover/*.py" "Paraformer_hr_landcover/networks/*" "data/poland/*"
73
+ ```
74
+
75
+ Checkpoints load with `torch.load(..., map_location="cpu")`. The code runs in a Python environment with PyTorch 2.7 and `transformers` (see `Paraformer_hr_landcover/requirements.txt`). DINOv3 and SAM 3 weights are **not** included; get them from their official Hugging Face repos under their own licences.
76
+
77
+ ## Licences
78
+
79
+ This repository bundles material with **different licences**. Check each source before reusing it:
80
+
81
+ - `Paraformer_hr_landcover/` code: Apache-2.0 (original Paraformer licence; see `LICENSE`).
82
+ - Chesapeake Land Cover data: distributed via LILA / Microsoft under its original terms (NAIP imagery is public domain; CCLC labels are © Chesapeake Conservancy).
83
+ - Poland data: from the Paraformer authors' release; follow their terms.
84
+ - Abu Dhabi imagery: zoom-18 satellite imagery tiles from a third-party provider; reuse is subject to that provider's terms.
85
+ - Checkpoints that contain DINOv3, SAM 3 or DOFA weights inherit those models' licences.
86
+
87
+ ## Citation
88
+
89
+ If you use the Paraformer method, please cite:
90
+
91
+ ```bibtex
92
+ @inproceedings{li2024paraformer,
93
+ title = {Learning without Exact Guidance: Updating Large-scale High-resolution Land Cover Maps from Low-resolution Historical Labels},
94
+ author = {Li, Zhuohong and He, Wei and Li, Jiepan and Lu, Fangxiao and Zhang, Hongyan},
95
+ booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
96
+ year = {2024}
97
+ }
98
+ ```