Duplicate from wxqzzw/GTD
Browse filesCo-authored-by: Zhang Zhiwei <wxqzzw@users.noreply.huggingface.co>
- .gitattributes +59 -0
- GTPBD_enhenced_png.zip +3 -0
- README.md +152 -0
- dataset_structure.png +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
# Audio files - uncompressed
|
| 39 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
# Audio files - compressed
|
| 43 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
# Image files - uncompressed
|
| 49 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
# Image files - compressed
|
| 54 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
# Video files - compressed
|
| 58 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
*.webm filter=lfs diff=lfs merge=lfs -text
|
GTPBD_enhenced_png.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3f536887743f01e5e0a3b95c807208c53ec20430f887da370b3d994ab4192bf1
|
| 3 |
+
size 16019251016
|
README.md
ADDED
|
@@ -0,0 +1,152 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- image-segmentation
|
| 5 |
+
- object-detection
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
# ❗ Latest Announcement: GTPBD Dataset & Paper (Updated on October 9th, 2025)
|
| 9 |
+
|
| 10 |
+
## 🎉 NeurIPS 2025 Acceptance
|
| 11 |
+
Our paper, **"GTPBD: A Fine-Grained Global Terraced Parcel and Boundary Dataset"**, has been officially accepted by **NeurIPS 2025**!
|
| 12 |
+
The camera-ready version and the arXiv version will be released by **October 23, 2025**.
|
| 13 |
+
|
| 14 |
+
## 📌 Before You Use GTPBD
|
| 15 |
+
If you plan to use the **GTPBD dataset**, please make sure to **carefully read the following notes and announcements**.
|
| 16 |
+
They include important information about dataset versions, imagery sources, licensing compliance, and access instructions.
|
| 17 |
+
|
| 18 |
+
👉 This will help you correctly use the dataset, avoid common misunderstandings, and ensure compliance with data usage policies.
|
| 19 |
+
|
| 20 |
+
## ❗ Important Notice on Imagery and Google Earth TOS
|
| 21 |
+
To ensure full compliance with Google Earth’s Terms of Service:
|
| 22 |
+
- **No Google Earth imagery** is distributed in this dataset.
|
| 23 |
+
- For the small subset where GE was used, only **metadata (`.xml`) files** are provided.
|
| 24 |
+
- These `.xml` files include geospatial info (coordinates, projection, extent), enabling users to reproduce the dataset legally.
|
| 25 |
+
|
| 26 |
+
This approach guarantees **reproducibility** while respecting **data licensing policies**.
|
| 27 |
+
|
| 28 |
+
## 📦 Dataset Update
|
| 29 |
+
- The dataset has been reconstructed for **higher quality and usability**.
|
| 30 |
+
- The new release is **`GTPBD_enhenced_png`**, where most Google Earth imagery has been replaced with **GF-2 satellite imagery**.
|
| 31 |
+
- Compared with the earlier `GTPBD_PNG` version, this update ensures improved consistency and reliability.
|
| 32 |
+
|
| 33 |
+
### 🌍 Current Coverage
|
| 34 |
+
- **Replaced with GF-2 imagery**: majority of regions.
|
| 35 |
+
- **Still using Google Earth (GE) imagery**: *South Africa, Brazil, Morocco, Nigeria, Tunisia*.
|
| 36 |
+
- For these five countries, we only provide **`.xml` metadata files** under the `Rest_of_world/` directory.
|
| 37 |
+
- Users can retrieve the corresponding imagery themselves via **Google Earth Pro** or other licensed high-resolution providers.
|
| 38 |
+
|
| 39 |
+
## 📌 License and Usage
|
| 40 |
+
|
| 41 |
+
This dataset is released under the **Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)** license.
|
| 42 |
+
|
| 43 |
+
You are free to:
|
| 44 |
+
|
| 45 |
+
- Use and modify the annotation data for **non-commercial research and education**
|
| 46 |
+
- Share adapted versions of the data **with attribution**
|
| 47 |
+
|
| 48 |
+
You may **not** use the dataset or any part of it for commercial purposes. Please contact us if you are unsure whether your intended use qualifies.
|
| 49 |
+
|
| 50 |
+
---
|
| 51 |
+
# GTPBD: Global Terraced Parcel and Boundary Dataset (Updated Version)
|
| 52 |
+
|
| 53 |
+
Paper: [GTPBD: A Fine-Grained Global Terraced Parcel and Boundary Dataset](https://huggingface.co/papers/2507.14697)
|
| 54 |
+
Code: [https://github.com/Z-ZW-WXQ/GTPBD/](https://github.com/Z-ZW-WXQ/GTPBD/)
|
| 55 |
+
|
| 56 |
+
We are pleased to introduce **GTPBD**, the updated and enhanced version of our global terraced agricultural parcel dataset. This release supports fine-grained segmentation, edge detection, and geospatial learning tasks across diverse, often mountainous terrains where terrace farming is practiced.
|
| 57 |
+
|
| 58 |
+
**GTPBD** (Global Terraced Parcel and Boundary Dataset) is the first fine-grained benchmark dataset tailored for agricultural parcel extraction in **global terraced regions**. Unlike prior datasets focused on flat or regular farmlands, GTPBD specifically captures **complex terrain types**, providing **multi-level annotations** and supporting **multiple remote sensing tasks**, including:
|
| 59 |
+
|
| 60 |
+
- Semantic Segmentation
|
| 61 |
+
- Edge Detection
|
| 62 |
+
- Parcel Extraction
|
| 63 |
+
- Unsupervised Domain Adaptation (UDA)
|
| 64 |
+
|
| 65 |
+
# Statistics
|
| 66 |
+
|
| 67 |
+
* **Geographic Coverage**: 7 major zones in China + global transcontinental regions
|
| 68 |
+
* **Area Covered**: 885 km² of annotated terraces
|
| 69 |
+
* **Label Diversity**:
|
| 70 |
+
* 3-level labels (mask, boundary, parcel)
|
| 71 |
+
* Complex topologies (shared vs. non-shared field ridges)
|
| 72 |
+
|
| 73 |
+
## 📦 What's Included in `GTPBD`
|
| 74 |
+
|
| 75 |
+
The current release provides a refined subset of the dataset in `.png` format, named `GTPBD_enhenced_png`. It includes:
|
| 76 |
+
|
| 77 |
+
- ✅ Expanded annotation coverage, supporting more diverse terrain types and regions
|
| 78 |
+
- ✅ Three-level manual labels: **parcel_labels**, **boundary_labels**, and **mask_labels**
|
| 79 |
+
- ✅ `.xml` geospatial metadata files for each image, including:
|
| 80 |
+
- Geographic coordinates (bounding box)
|
| 81 |
+
- Spatial resolution
|
| 82 |
+
- Projection information and image footprint
|
| 83 |
+
These metadata files allow users to reference or re-acquire the corresponding satellite images for further geospatial analysis.
|
| 84 |
+
|
| 85 |
+
- **🌍 Global Scope**: 47,537 high-resolution samples from China, Vietnam, Tunisia, Ethiopia, Mexico, Peru, and more
|
| 86 |
+
- **🌾 Terraced Focus**: 200,000+ annotated parcels with irregular, stepped, and shadowed structures
|
| 87 |
+
- **🧩 Multi-Level Labels**:
|
| 88 |
+
- Parcel Mask Labels
|
| 89 |
+
- Pixel-Level Boundary Labels
|
| 90 |
+
- Instance-Level Parcel Labels
|
| 91 |
+
- **📑 Data augmentation for improved generalization in terraced parcel learning**:
|
| 92 |
+
- Images with **`rot`** in their filenames are **rotated versions** of the originals
|
| 93 |
+
- Images with **`flip`** in their filenames are **flipped versions** of the originals
|
| 94 |
+
|
| 95 |
+
# Tasks & Benchmarks
|
| 96 |
+
|
| 97 |
+
### 1. Semantic Segmentation
|
| 98 |
+
|
| 99 |
+
* **Models**: U-Net, DeepLabV3, PSPNet, SegFormer, Mask2Former, etc.
|
| 100 |
+
* **Metrics**: IoU, Pixel Accuracy, F1-score, Recall, Precision
|
| 101 |
+
|
| 102 |
+
### 2. Edge Detection
|
| 103 |
+
|
| 104 |
+
* **Models**: UEAD, MuGE, PiDiNet, REAUNet-Sober
|
| 105 |
+
* **Metrics**: ODS, OIS, AP
|
| 106 |
+
|
| 107 |
+
### 3. Agricultural Parcel Extraction
|
| 108 |
+
|
| 109 |
+
* **Models**: HBGNet, SEANet, REAUNet
|
| 110 |
+
* **Metrics**: OA, IoU, F1, plus object-level:
|
| 111 |
+
* GOC (Over-Classification Error)
|
| 112 |
+
* GUC (Under-Classification Error)
|
| 113 |
+
* GTC (Total Classification Error)
|
| 114 |
+
|
| 115 |
+
### 4. Unsupervised Domain Adaptation (UDA)
|
| 116 |
+
|
| 117 |
+
* **Domains**: South (S), North (N), Global (G)
|
| 118 |
+
* **Transfers**: S → N, G → S, etc.
|
| 119 |
+
* **Methods**: Source Only, FDA, DAFormer, HRDA, PiPa
|
| 120 |
+
|
| 121 |
+
## Sample Usage
|
| 122 |
+
|
| 123 |
+
You can download the dataset directly from Hugging Face:
|
| 124 |
+
|
| 125 |
+
```bash
|
| 126 |
+
git lfs install
|
| 127 |
+
git clone https://huggingface.co/datasets/wxqzzw/GTD
|
| 128 |
+
```
|
| 129 |
+
|
| 130 |
+
## 📑 Explanation of Directories
|
| 131 |
+
|
| 132 |
+
The **GTPBD dataset** directory structure is illustrated below:
|
| 133 |
+
|
| 134 |
+

|
| 135 |
+
|
| 136 |
+
- **Regional Subfolders**
|
| 137 |
+
- *Central China, East China, North China, Northeast China, Northwest China, South China, Southwest China*: Seven major Chinese agricultural regions.
|
| 138 |
+
- *Rest of the world*: Includes other international samples (e.g., South Africa, Brazil, Morocco, Nigeria, Tunisia).
|
| 139 |
+
---
|
| 140 |
+
|
| 141 |
+
|
| 142 |
+
## 📥 Need the Full `.tif` Satellite Imagery?
|
| 143 |
+
|
| 144 |
+
Most regions in **`GTPBD_enhenced_png`** already include the bundled **PNG** imagery.
|
| 145 |
+
Only **five countries** currently do **not** include the imagery due to licensing constraints:
|
| 146 |
+
**South Africa, Brazil, Morocco, Nigeria, Tunisia**.
|
| 147 |
+
|
| 148 |
+
- For these countries, we provide **`.xml` metadata** under `Rest_of_world/` so you can legally retrieve the corresponding images from **Google Earth Pro** or other **licensed high-resolution providers**.
|
| 149 |
+
- If you **require original GeoTIFF (`.tif`)** for research use, please contact us directly.
|
| 150 |
+
|
| 151 |
+
For questions, feedback, or `.tif` access support, contact:
|
| 152 |
+
📧 **zhangzhw65@mail2.sysu.edu.cn**
|
dataset_structure.png
ADDED
|
Git LFS Details
|