Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,48 +1,68 @@
|
|
| 1 |
---
|
| 2 |
license: cc-by-4.0
|
| 3 |
-
language:
|
| 4 |
-
- en
|
| 5 |
tags:
|
| 6 |
- remote-sensing
|
| 7 |
- satellite-imagery
|
| 8 |
-
-
|
| 9 |
-
-
|
| 10 |
- multi-label
|
| 11 |
-
-
|
| 12 |
dataset_type: image-classification
|
| 13 |
-
pretty_name:
|
| 14 |
size_categories:
|
| 15 |
- 10K<n<100K
|
| 16 |
---
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
---
|
| 19 |
|
|
|
|
| 20 |
|
| 21 |
-
|
| 22 |
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
-
|
| 26 |
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
-
|
| 30 |
-
-
|
| 31 |
-
- `barn.tar.gz`
|
|
|
|
| 32 |
|
| 33 |
-
|
| 34 |
|
| 35 |
-
-
|
| 36 |
|
| 37 |
## Features
|
| 38 |
|
| 39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
|
| 41 |
-
-
|
| 42 |
-
- `label`: Integer class label (`0`: Negative, `1–6`: Livestock type)
|
| 43 |
-
- `barn`, `manure_pond`, `grazing_area`, `others`: Binary infrastructure flags
|
| 44 |
-
- `geom_bbox`: Bounding box for CAFO-related infrastructure
|
| 45 |
-
- `cafosat_*_train/test/val`: Split flags for multiple dataset configurations
|
| 46 |
|
| 47 |
## Labels
|
| 48 |
|
|
@@ -56,34 +76,43 @@ Each sample includes:
|
|
| 56 |
| 5 | Horses |
|
| 57 |
| 6 | Sheep/Goats |
|
| 58 |
|
|
|
|
|
|
|
| 59 |
## Splits
|
| 60 |
|
| 61 |
-
|
| 62 |
-
- `cafosat_verified_training`
|
| 63 |
-
- `cafosat_all_training`
|
| 64 |
-
- `cafosat_augmented_training`
|
| 65 |
-
- `cafosat_training_set1` / `set2`
|
| 66 |
-
- `cafosat_merged_training`
|
| 67 |
|
| 68 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
|
| 70 |
-
|
| 71 |
|
| 72 |
-
|
| 73 |
-
- CAFO detection and infrastructure classification
|
| 74 |
-
- Environmental monitoring
|
| 75 |
-
- Weak supervision and remote sensing research
|
| 76 |
|
| 77 |
-
##
|
| 78 |
|
| 79 |
-
|
| 80 |
-
|
|
|
|
|
|
|
| 81 |
|
| 82 |
-
|
| 83 |
|
| 84 |
## Citation
|
| 85 |
|
| 86 |
-
TBD
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
|
| 88 |
## Contact
|
| 89 |
|
|
|
|
| 1 |
---
|
| 2 |
license: cc-by-4.0
|
|
|
|
|
|
|
| 3 |
tags:
|
| 4 |
- remote-sensing
|
| 5 |
- satellite-imagery
|
| 6 |
+
- agriculture
|
| 7 |
+
- classification
|
| 8 |
- multi-label
|
| 9 |
+
- bounding-box
|
| 10 |
dataset_type: image-classification
|
| 11 |
+
pretty_name: CAFOSat Dataset
|
| 12 |
size_categories:
|
| 13 |
- 10K<n<100K
|
| 14 |
---
|
| 15 |
|
| 16 |
+
# CAFOSat: CAFO Infrastructure Dataset
|
| 17 |
+
|
| 18 |
+
CAFOSat is a remote sensing dataset designed for identifying and classifying Concentrated Animal Feeding Operations (CAFOs) across various U.S. states. It includes high-resolution image patches, infrastructure annotations, bounding boxes, and experimental train-test splits for multiple configurations.
|
| 19 |
+
|
| 20 |
---
|
| 21 |
|
| 22 |
+
## Dataset Structure
|
| 23 |
|
| 24 |
+
The dataset is organized into extracted folders originally packaged as `.tar.gz` files:
|
| 25 |
|
| 26 |
+
- `STATE_filtered/`: Original patches per U.S. state
|
| 27 |
+
(e.g., `IA_filtered/`, `AL_filtered/`)
|
| 28 |
+
- `negative_samples/`: Verified non-CAFO examples
|
| 29 |
+
- `barn/`, `manure_pond/`, `others/`: Augmented synthetic patches by infrastructure type
|
| 30 |
+
- `cafosat.csv`: Master metadata file with labels, bounding boxes, and split flags
|
| 31 |
|
| 32 |
+
All image paths referenced in the CSV point to these extracted folders.
|
| 33 |
|
| 34 |
+
---
|
| 35 |
+
|
| 36 |
+
## 🔖 Image File Reference (`patch_file`)
|
| 37 |
+
|
| 38 |
+
Each row in the metadata includes a `patch_file` field that provides the relative path to the associated image file.
|
| 39 |
+
Each `patch_file` is a pointer into a compressed archive using Hugging Face's streaming format:
|
| 40 |
|
| 41 |
+
Example:
|
| 42 |
+
-`IA_filtered.tar.gz::IA_filtered/crop_4517_patch_10147_Swine_Nursery_IA.tif`
|
| 43 |
+
- `barn.tar.gz::`barn/aug_patch_00123.tif`
|
| 44 |
+
- `negative_sample.tar.gz::`barn/neg_patch_00098.tif`
|
| 45 |
|
| 46 |
+
This format indicates the image is located inside `IA_filtered.tar.gz` under the subpath shown. This field is automatically interpreted by Hugging Face as an image using the `datasets.Image()` feature, so image previews and loading work out of the box.
|
| 47 |
|
| 48 |
+
---
|
| 49 |
|
| 50 |
## Features
|
| 51 |
|
| 52 |
+
| Column | Description |
|
| 53 |
+
|---------------|-------------------------------------------------------|
|
| 54 |
+
| `patch_file` | Path to the image file |
|
| 55 |
+
| `label` | Integer label for class (0–6) |
|
| 56 |
+
| `barn`, `manure_pond`, `grazing_area`, `others` | Binary infra flags |
|
| 57 |
+
| `geom_bbox` | Bounding box coordinates `[x1, y1, x2, y2]` |
|
| 58 |
+
| `category` | Class name (e.g., Swine, Dairy) |
|
| 59 |
+
| `state` | U.S. state of the patch |
|
| 60 |
+
| `verified_label` | Human-verified CAFO type |
|
| 61 |
+
| `CAFO_UNIQUE_ID` | Unique identifier for facility |
|
| 62 |
+
| `image_type` | `original`, `augmented`, `negative`, etc. |
|
| 63 |
+
| `split columns` | Flags for different train/test/val splits |
|
| 64 |
|
| 65 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
|
| 67 |
## Labels
|
| 68 |
|
|
|
|
| 76 |
| 5 | Horses |
|
| 77 |
| 6 | Sheep/Goats |
|
| 78 |
|
| 79 |
+
---
|
| 80 |
+
|
| 81 |
## Splits
|
| 82 |
|
| 83 |
+
Multiple experimental train-test split columns are provided in the CSV:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
|
| 85 |
+
- `cafosat_verified_training_train`, `cafosat_verified_training_test`, `cafosat_verified_training_val`
|
| 86 |
+
- `cafosat_all_training_*`
|
| 87 |
+
- `cafosat_training_set1_*`, `set2_*`
|
| 88 |
+
- `cafosat_merged_training_*`
|
| 89 |
+
- `cafosat_augmented_training_*`
|
| 90 |
|
| 91 |
+
Each flag is a binary indicator (`1` = in split, `0` = excluded).
|
| 92 |
|
| 93 |
+
---
|
|
|
|
|
|
|
|
|
|
| 94 |
|
| 95 |
+
## Intended Use
|
| 96 |
|
| 97 |
+
- CAFO detection and classification
|
| 98 |
+
- Agricultural infrastructure mapping
|
| 99 |
+
- Weak supervision, semi-supervised learning
|
| 100 |
+
- Remote sensing benchmark development
|
| 101 |
|
| 102 |
+
---
|
| 103 |
|
| 104 |
## Citation
|
| 105 |
|
| 106 |
+
*TBD
|
| 107 |
+
|
| 108 |
+
---
|
| 109 |
+
|
| 110 |
+
## License
|
| 111 |
+
|
| 112 |
+
This dataset is released under the [CC BY 4.0 License](https://creativecommons.org/licenses/by/4.0/).
|
| 113 |
+
|
| 114 |
+
You are free to share, use, and adapt the data with attribution.
|
| 115 |
+
|
| 116 |
|
| 117 |
## Contact
|
| 118 |
|