Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
---
|
| 2 |
pretty_name: HighBuild-1M
|
| 3 |
license: other
|
|
|
|
|
|
|
| 4 |
task_categories:
|
| 5 |
- image-segmentation
|
| 6 |
- object-detection
|
|
@@ -9,10 +11,14 @@ tags:
|
|
| 9 |
- geospatial
|
| 10 |
- building-height
|
| 11 |
- aerial-imagery
|
|
|
|
| 12 |
- earth-observation
|
| 13 |
- single-view-height-estimation
|
| 14 |
- building-height-estimation
|
| 15 |
- spatial-generalization
|
|
|
|
|
|
|
|
|
|
| 16 |
size_categories:
|
| 17 |
- 10K<n<100K
|
| 18 |
configs:
|
|
@@ -28,263 +34,52 @@ configs:
|
|
| 28 |
|
| 29 |
# HighBuild-1M
|
| 30 |
|
| 31 |
-
HighBuild-1M is a multi-continental high-resolution benchmark dataset for single-view building height estimation from overhead imagery. Each sample contains a 1024
|
| 32 |
|
| 33 |
## Dataset Statistics
|
| 34 |
|
| 35 |
-
| Version | 1024
|
| 36 |
|---|---:|---:|---:|---:|---:|
|
| 37 |
-
| HighBuild-1M | 70,266 | 6,050,823 | 26 | 12 | 6 |
|
| 38 |
|
| 39 |
-
The
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
|
| 41 |
## Tasks
|
| 42 |
|
| 43 |
HighBuild-1M supports the following tasks:
|
| 44 |
|
| 45 |
1. **Single-view building height estimation**
|
| 46 |
-
Input: one 1024
|
| 47 |
Output: a spatially aligned float32 building-height map.
|
| 48 |
|
| 49 |
2. **Building-wise height evaluation**
|
| 50 |
Predicted height maps can be aggregated within COCO-style building polygons to compute building-level MAE/RMSE.
|
| 51 |
|
| 52 |
-
3. **Building segmentation
|
| 53 |
-
COCO-style building polygons and bounding boxes can be used for semantic
|
| 54 |
|
| 55 |
4. **Spatial generalization benchmarking**
|
| 56 |
The benchmark supports same-city, cross-city within-country, and cross-country evaluation protocols.
|
| 57 |
|
| 58 |
-
|
| 59 |
## WebDataset and Compression
|
| 60 |
|
| 61 |
-
For the Hugging Face hosted release, the recommended distribution format is
|
| 62 |
-
WebDataset TAR shards generated from this staging directory:
|
| 63 |
|
| 64 |
-
|
| 65 |
-
python3 scripts/build_hf_webdataset.py \
|
| 66 |
-
--input hf_upload_staging \
|
| 67 |
-
--output hf_upload_webdataset \
|
| 68 |
-
--clean \
|
| 69 |
-
--workers 8 \
|
| 70 |
-
--max-shard-gb 1.0
|
| 71 |
-
```
|
| 72 |
-
|
| 73 |
-
The conversion writes split-aware shards under:
|
| 74 |
|
| 75 |
```text
|
| 76 |
data/webdataset/train/*.tar
|
| 77 |
data/webdataset/validation/*.tar
|
| 78 |
-
data/webdataset/test/*.tar
|
| 79 |
-
```
|
| 80 |
-
|
| 81 |
-
The conversion also writes
|
| 82 |
-
`benchmark_v1/manifest_webdataset_tiles_1024.csv`, which maps each original
|
| 83 |
-
tile id to its split, shard path, WebDataset key, and member filenames.
|
| 84 |
-
|
| 85 |
-
Each WebDataset sample contains three members with the same key:
|
| 86 |
-
|
| 87 |
-
```text
|
| 88 |
-
<Continent>_<Country>_<City>__<tile_id>.jpg
|
| 89 |
-
<Continent>_<Country>_<City>__<tile_id>.tiff
|
| 90 |
-
<Continent>_<Country>_<City>__<tile_id>.json
|
| 91 |
-
```
|
| 92 |
-
|
| 93 |
-
The TAR shards themselves are not gzip/zstd-compressed, which keeps them
|
| 94 |
-
streamable. Before each mask is written into a shard, the mask TIFF is
|
| 95 |
-
losslessly recompressed with internal TIFF ZSTD compression:
|
| 96 |
-
|
| 97 |
-
```text
|
| 98 |
-
COMPRESS=ZSTD
|
| 99 |
-
ZSTD_LEVEL=9
|
| 100 |
-
PREDICTOR=3
|
| 101 |
-
TILED=YES
|
| 102 |
-
BLOCKXSIZE=512
|
| 103 |
-
BLOCKYSIZE=512
|
| 104 |
-
BIGTIFF=IF_SAFER
|
| 105 |
-
```
|
| 106 |
-
|
| 107 |
-
This changes only the TIFF storage encoding. No resampling, quantization, dtype
|
| 108 |
-
conversion, or lossy compression is applied to mask values. The RGB JPEG images
|
| 109 |
-
and COCO-style JSON annotations are copied into the shards without
|
| 110 |
-
recompression.
|
| 111 |
-
|
| 112 |
-
In the local staging package, mask TIFF files account for about 240 GB of the
|
| 113 |
-
270 GB total. A local random sample of 50 masks compressed from 4.2 MB per mask
|
| 114 |
-
to about 27 KB on average with identical GDAL checksums. Based on that sample,
|
| 115 |
-
the mask portion is expected to shrink to roughly 1.5 GB, and the final
|
| 116 |
-
WebDataset release is expected to be dominated by the existing JPEG imagery and
|
| 117 |
-
JSON annotations.
|
| 118 |
-
|
| 119 |
-
## Dataset Structure
|
| 120 |
-
|
| 121 |
-
The original unsharded layout represented each sample by three matched files with the same tile basename:
|
| 122 |
-
|
| 123 |
-
```text
|
| 124 |
-
data/images/<Continent>_<Country>_<City>/<tile_id>.jpg
|
| 125 |
-
data/masks/<Continent>_<Country>_<City>/masks/<tile_id>.tiff
|
| 126 |
-
data/annotations/coco_json/<Continent>_<Country>_<City>/<tile_id>.json
|
| 127 |
-
```
|
| 128 |
-
|
| 129 |
-
The release also includes benchmark metadata:
|
| 130 |
-
|
| 131 |
-
```text
|
| 132 |
-
benchmark_v1/manifest_tiles_1024.csv
|
| 133 |
-
benchmark_v1/manifest_patches_256.csv
|
| 134 |
-
benchmark_v1/city_coverage.csv
|
| 135 |
-
benchmark_v1/split_report.md
|
| 136 |
-
benchmark_v1/splits/random_64_16_20/tiles_1024/{train,val,test}.txt
|
| 137 |
-
benchmark_v1/splits/random_64_16_20/patches_256/{train,val,test}.txt
|
| 138 |
-
```
|
| 139 |
-
|
| 140 |
-
Paths in `manifest_tiles_1024.csv` describe the original unsharded layout. For the hosted WebDataset release, use `manifest_webdataset_tiles_1024.csv` for shard and member paths.
|
| 141 |
-
|
| 142 |
-
## Included Cities
|
| 143 |
-
|
| 144 |
-
The folder naming convention is `<Continent>_<Country>_<City>`.
|
| 145 |
-
|
| 146 |
-
| Folder | Tiles |
|
| 147 |
-
|---|---:|
|
| 148 |
-
| `Africa_SouthAfrica_CapeTown` | 5,473 |
|
| 149 |
-
| `Asia_Japan_Osaka` | 1,554 |
|
| 150 |
-
| `Europe_Denmark_Aarhus` | 95 |
|
| 151 |
-
| `Europe_Denmark_Copenhagen` | 1,618 |
|
| 152 |
-
| `Europe_Denmark_Odense` | 90 |
|
| 153 |
-
| `Europe_France_Lyon` | 101 |
|
| 154 |
-
| `Europe_France_Marseille` | 159 |
|
| 155 |
-
| `Europe_France_Paris` | 6,294 |
|
| 156 |
-
| `Europe_France_Strasbourg` | 94 |
|
| 157 |
-
| `Europe_France_Toulouse` | 231 |
|
| 158 |
-
| `Europe_Germany_Berlin` | 10,355 |
|
| 159 |
-
| `Europe_Germany_Frankfurt` | 99 |
|
| 160 |
-
| `Europe_Germany_Munich` | 108 |
|
| 161 |
-
| `Europe_Netherlands_Amsterdam` | 1,836 |
|
| 162 |
-
| `NorthAmerica_Canada_Toronto` | 8,471 |
|
| 163 |
-
| `NorthAmerica_Canada_Vancouver` | 126 |
|
| 164 |
-
| `NorthAmerica_USA_Chicago` | 120 |
|
| 165 |
-
| `NorthAmerica_USA_LosAngeles` | 123 |
|
| 166 |
-
| `NorthAmerica_USA_NewYork` | 11,172 |
|
| 167 |
-
| `NorthAmerica_USA_SanFrancisco` | 87 |
|
| 168 |
-
| `NorthAmerica_USA_Seattle` | 78 |
|
| 169 |
-
| `Oceania_Australia_Melbourne` | 602 |
|
| 170 |
-
| `Oceania_Australia_Sydney` | 138 |
|
| 171 |
-
| `SouthAmerica_Brazil_SaoPaulo` | 12,191 |
|
| 172 |
-
|
| 173 |
-
## Splits
|
| 174 |
-
|
| 175 |
-
The hosted release currently includes the `random_64_16_20` split:
|
| 176 |
-
|
| 177 |
-
| Split | 1024 tiles | 256 patches | Ratio |
|
| 178 |
-
|---|---:|---:|---:|
|
| 179 |
-
| train | 39,178 | 626,848 | 64% |
|
| 180 |
-
| validation | 9,794 | 156,704 | 16% |
|
| 181 |
-
| test | 12,243 | 195,888 | 20% |
|
| 182 |
-
|
| 183 |
-
These numbers sum to 61,215 hosted 1024×1024 tiles. All 256×256 patches inherit the split of their parent 1024×1024 tile to avoid leakage between train, validation, and test sets.
|
| 184 |
-
|
| 185 |
-
## Data Fields
|
| 186 |
-
|
| 187 |
-
- `image`: RGB image tile in JPEG format.
|
| 188 |
-
- `mask`: TIFF raster mask aligned to the image tile. Pixel values encode the
|
| 189 |
-
building-height target used by the dataset generation pipeline.
|
| 190 |
-
- `annotation`: COCO-style JSON annotation file for buildings in the tile.
|
| 191 |
-
- `manifest_tiles_1024.csv`: one row per complete image-mask-annotation tile.
|
| 192 |
-
- `manifest_patches_256.csv`: one row per 256 x 256 patch derived from the
|
| 193 |
-
1024 tile grid.
|
| 194 |
-
|
| 195 |
-
## Reading and Extracting WebDataset Shards
|
| 196 |
-
|
| 197 |
-
Most users do not need to manually decompress the mask TIFF files. GDAL,
|
| 198 |
-
rasterio, and other TIFF readers with ZSTD-enabled libtiff support decompress
|
| 199 |
-
the internal TIFF compression transparently when the array is read.
|
| 200 |
-
|
| 201 |
-
Load the hosted WebDataset with Hugging Face Datasets:
|
| 202 |
-
|
| 203 |
-
```python
|
| 204 |
-
from datasets import load_dataset
|
| 205 |
-
|
| 206 |
-
data_files = {
|
| 207 |
-
"train": "data/webdataset/train/*.tar",
|
| 208 |
-
"validation": "data/webdataset/validation/*.tar",
|
| 209 |
-
"test": "data/webdataset/test/*.tar",
|
| 210 |
-
}
|
| 211 |
-
|
| 212 |
-
dataset = load_dataset("webdataset", data_files=data_files, streaming=True)
|
| 213 |
-
```
|
| 214 |
-
|
| 215 |
-
Extract one shard with standard tar tools:
|
| 216 |
-
|
| 217 |
-
```bash
|
| 218 |
-
mkdir -p extracted/train
|
| 219 |
-
tar -xf data/webdataset/train/train-000000.tar -C extracted/train
|
| 220 |
-
```
|
| 221 |
-
|
| 222 |
-
Read an extracted mask directly with rasterio:
|
| 223 |
-
|
| 224 |
-
```python
|
| 225 |
-
import rasterio
|
| 226 |
-
|
| 227 |
-
with rasterio.open("extracted/train/Africa_SouthAfrica_CapeTown__grid_03328_z18.tiff") as src:
|
| 228 |
-
mask = src.read(1)
|
| 229 |
-
```
|
| 230 |
-
|
| 231 |
-
If an uncompressed TIFF file is required for a legacy tool, convert the mask
|
| 232 |
-
back to an uncompressed TIFF with GDAL:
|
| 233 |
-
|
| 234 |
-
```bash
|
| 235 |
-
gdal_translate \
|
| 236 |
-
extracted/train/Africa_SouthAfrica_CapeTown__grid_03328_z18.tiff \
|
| 237 |
-
extracted/train/Africa_SouthAfrica_CapeTown__grid_03328_z18.uncompressed.tiff \
|
| 238 |
-
-co COMPRESS=NONE
|
| 239 |
-
```
|
| 240 |
-
|
| 241 |
-
To inspect the TIFF compression and checksum:
|
| 242 |
-
|
| 243 |
-
```bash
|
| 244 |
-
gdalinfo -checksum extracted/train/Africa_SouthAfrica_CapeTown__grid_03328_z18.tiff
|
| 245 |
-
```
|
| 246 |
-
|
| 247 |
-
## License and Attribution
|
| 248 |
-
|
| 249 |
-
This is a multi-source geospatial dataset. The imagery and building-height
|
| 250 |
-
labels are derived from public or permissioned regional sources with different
|
| 251 |
-
license and attribution requirements. Do not treat the whole dataset as a
|
| 252 |
-
single permissive-license corpus.
|
| 253 |
-
|
| 254 |
-
See `LICENSES.md` for the source-level license inventory, attribution strings,
|
| 255 |
-
and release conditions.
|
| 256 |
-
|
| 257 |
-
## Intended Uses
|
| 258 |
-
|
| 259 |
-
- Benchmarking monocular or single-image building height estimation.
|
| 260 |
-
- Training and evaluating geospatial computer vision models.
|
| 261 |
-
- Studying cross-city, cross-country, and cross-continent generalization.
|
| 262 |
-
- Remote-sensing research on urban morphology and built environments.
|
| 263 |
-
|
| 264 |
-
## Out-of-Scope Uses
|
| 265 |
-
|
| 266 |
-
This dataset should not be used as the sole basis for legal, safety-critical,
|
| 267 |
-
real-estate, insurance, tax, emergency-response, or infrastructure decisions.
|
| 268 |
-
It should not be used to infer sensitive attributes about individuals or
|
| 269 |
-
households.
|
| 270 |
-
|
| 271 |
-
## Limitations
|
| 272 |
-
|
| 273 |
-
- Coverage is uneven across continents, countries, and cities.
|
| 274 |
-
- Source imagery dates and building-height label dates may not match exactly.
|
| 275 |
-
- Spatial resolution, acquisition conditions, sensor characteristics, and
|
| 276 |
-
building-height definitions differ across source regions.
|
| 277 |
-
- Some dense urban regions dominate the tile count.
|
| 278 |
-
- The hosted `random_64_16_20` split is random at the 1024-tile level and is not a strict geographic holdout split. The full benchmark described in the paper additionally defines same-city, cross-city, and cross-country evaluation protocols.
|
| 279 |
-
|
| 280 |
-
## Citation
|
| 281 |
-
|
| 282 |
-
If you use HighBuild-1M, please cite the associated paper. Citation information will be updated after the paper is finalized.
|
| 283 |
-
|
| 284 |
-
```bibtex
|
| 285 |
-
@misc{highbuild1m2026,
|
| 286 |
-
title={HighBuild-1M: A Multi-Continental High-Resolution Benchmark Dataset for Single-View Building Height Estimation and Instance Segmentation},
|
| 287 |
-
author={Anonymous},
|
| 288 |
-
year={2026},
|
| 289 |
-
note={Submitted to NeurIPS 2026 Evaluations and Datasets Track}
|
| 290 |
-
}
|
|
|
|
| 1 |
---
|
| 2 |
pretty_name: HighBuild-1M
|
| 3 |
license: other
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
task_categories:
|
| 7 |
- image-segmentation
|
| 8 |
- object-detection
|
|
|
|
| 11 |
- geospatial
|
| 12 |
- building-height
|
| 13 |
- aerial-imagery
|
| 14 |
+
- overhead-imagery
|
| 15 |
- earth-observation
|
| 16 |
- single-view-height-estimation
|
| 17 |
- building-height-estimation
|
| 18 |
- spatial-generalization
|
| 19 |
+
- building-segmentation
|
| 20 |
+
- coco
|
| 21 |
+
- tiff
|
| 22 |
size_categories:
|
| 23 |
- 10K<n<100K
|
| 24 |
configs:
|
|
|
|
| 34 |
|
| 35 |
# HighBuild-1M
|
| 36 |
|
| 37 |
+
HighBuild-1M is a multi-continental high-resolution benchmark dataset for single-view building height estimation from overhead imagery. Each sample contains a 1024 x 1024 RGB overhead image, a spatially aligned float32 building-height mask, and COCO-style building instance annotations.
|
| 38 |
|
| 39 |
## Dataset Statistics
|
| 40 |
|
| 41 |
+
| Version | 1024 x 1024 tiles | Building instances | City groups | Countries/regions | Continents |
|
| 42 |
|---|---:|---:|---:|---:|---:|
|
| 43 |
+
| HighBuild-1M full benchmark | 70,266 | 6,050,823 | 26 | 12 | 6 |
|
| 44 |
|
| 45 |
+
The full benchmark covers 6 continents, 12 countries or regions, and 26 city groups, with 70,266 paired 1024 x 1024 tiles and 6,050,823 building instances.
|
| 46 |
+
|
| 47 |
+
## Reviewer Small Sample
|
| 48 |
+
|
| 49 |
+
A small reviewer-inspection subset is available at:
|
| 50 |
+
|
| 51 |
+
https://huggingface.co/datasets/feifei140729/small-sample
|
| 52 |
+
|
| 53 |
+
The small sample follows the same triplet structure as the full dataset, including RGB images, float32 TIFF building-height masks, and COCO-style JSON annotations. It is intended for quick inspection of data quality, file organization, spatial alignment, and annotation format.
|
| 54 |
+
|
| 55 |
+
## Dataset Viewer Note
|
| 56 |
+
|
| 57 |
+
The Hugging Face Dataset Viewer may fail to render this dataset because HighBuild-1M is distributed as large WebDataset TAR shards containing JPEG images, float32 TIFF masks, and COCO-style JSON annotations rather than a single tabular dataset. This does not affect downloading, streaming, or inspecting the dataset. Please use the WebDataset loading instructions and manifest files below.
|
| 58 |
|
| 59 |
## Tasks
|
| 60 |
|
| 61 |
HighBuild-1M supports the following tasks:
|
| 62 |
|
| 63 |
1. **Single-view building height estimation**
|
| 64 |
+
Input: one 1024 x 1024 RGB overhead image tile.
|
| 65 |
Output: a spatially aligned float32 building-height map.
|
| 66 |
|
| 67 |
2. **Building-wise height evaluation**
|
| 68 |
Predicted height maps can be aggregated within COCO-style building polygons to compute building-level MAE/RMSE.
|
| 69 |
|
| 70 |
+
3. **Building segmentation and instance-level building understanding**
|
| 71 |
+
COCO-style building polygons and bounding boxes can be used for semantic building segmentation, instance-level building analysis, and joint height-segmentation modelling.
|
| 72 |
|
| 73 |
4. **Spatial generalization benchmarking**
|
| 74 |
The benchmark supports same-city, cross-city within-country, and cross-country evaluation protocols.
|
| 75 |
|
|
|
|
| 76 |
## WebDataset and Compression
|
| 77 |
|
| 78 |
+
For the Hugging Face hosted release, the recommended distribution format is WebDataset TAR shards.
|
|
|
|
| 79 |
|
| 80 |
+
The hosted WebDataset release uses split-aware shards under:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
|
| 82 |
```text
|
| 83 |
data/webdataset/train/*.tar
|
| 84 |
data/webdataset/validation/*.tar
|
| 85 |
+
data/webdataset/test/*.tar
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|