Datasets:
Update README.md
Browse files16 unmodified lines1718192021224 unmodified lines272829303132334 unmodified lines383940414243444546474849505152535455565758596061626364656667686910 unmodified lines808182838485868788899091929394959697989910010110210310410516 unmodified linesCAFOSat 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.---## Dataset Structure4 unmodified lines(e.g., `IA_filtered/`, `AL_filtered/`)- `negative_samples/`: Verified non-CAFO examples- `barn/`, `manure_pond/`, `others/`: Augmented synthetic patches by infrastructure type- `cafosat.csv`: Master metadata file with labels, bounding boxes, and split flagsAll image paths referenced in the CSV point to these extracted folders.π Example data loader available [here](https://github.com/oishee-hoque/CAFOSat/tree/main/data_loader).4 unmodified lines## π Image File Reference (`patch_file`)Each row in the metadata includes a `patch_file` field that provides the relative path to the associated image file.Each `patch_file` is a pointer into a compressed archive using Hugging Face's streaming format:Example:-`IA_filtered.tar.gz::IA_filtered/crop_4517_patch_10147_Swine_Nursery_IA.tif`- `barn.tar.gz::`barn/aug_patch_00123.tif`- `negative_sample.tar.gz::`barn/neg_patch_00098.tif`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.---## Features| Column | Description ||---------------|-------------------------------------------------------|| `patch_file` | Path to the image file || `label` | Integer label for class (0β6) || `barn`, `manure_pond`, `grazing_area`, `others` | Binary infra flags || `geom_bbox` | Bounding box coordinates `[x1, y1, x2, y2]` || `category` | Class name (e.g., Swine, Dairy) || `state` | U.S. state of the patch || `verified_label` | Human-verified CAFO type || `CAFO_UNIQUE_ID` | Unique identifier for facility || `image_type` | `original`, `augmented`, `negative`, etc. || `split columns` | Flags for different train/test/val splits |---## Labels10 unmodified lines---## SplitsMultiple experimental train-test split columns are provided in the CSV:- `cafosat_verified_training_train`, `cafosat_verified_training_test`, `cafosat_verified_training_val`- `cafosat_all_training_*`- `cafosat_training_set1_*`, `set2_*`- `cafosat_merged_training_*`- `cafosat_augmented_training_*`Each flag is a binary indicator (`1` = in split, `0` = excluded).---## Intended Use- CAFO detection and classification- Agricultural infrastructure mapping- Weak supervision, semi-supervised learning- Remote sensing benchmark development---16 unmodified lines171819202122232425264 unmodified lines313233343536374 unmodified lines4243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899010 unmodified lines10110210310410510610710810911011111211311416 unmodified linesCAFOSat 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.## π Resources- **GitHub Repository:** [oishee-hoque/CAFOSat](https://github.com/oishee-hoque/CAFOSat)- **Explore the Dataset:** [CAFOSat Data Loader and Examples](https://github.com/oishee-hoque/CAFOSat/tree/main/data_loader)---## Dataset Structure4 unmodified lines(e.g., `IA_filtered/`, `AL_filtered/`)- `negative_samples/`: Verified non-CAFO examples- `barn/`, `manure_pond/`, `others/`: Augmented synthetic patches by infrastructure type- `CAFOSat.csv`: Master metadata file with labels, bounding boxes, and split flagsAll image paths referenced in the CSV point to these extracted folders.π Example data loader available [here](https://github.com/oishee-hoque/CAFOSat/tree/main/data_loader).4 unmodified lines## π Image File Reference (`patch_file`)Each row in the metadata includes a `patch_file` field that provides the relative path to the associated image file.Example:-`IA_filtered.tar.gz::IA_filtered/crop_4517_patch_10147_Swine_Nursery_IA.tif`- `barn.tar.gz::`barn/aug_patch_00123.tif`- `negative_sample.tar.gz::`barn/neg_patch_00098.tif`---## Features| Column | Description ||---------------------------------------|-----------------------------------------------------------------------------|| `patch_file` | Path to the image file || `label` | Integer label for class (0β6) || `barn`, `manure_pond`, `grazing_area`, `others` | Binary flags indicating infrastructure types || `geom_bbox` | Bounding box coordinates `[x1, y1, x2, y2]` || `geometry` | Geospatial polygon outlining the CAFO region || `poly_crs` | Coordinate reference system used for `geometry` || `patch_crs` | Coordinate reference system used for the image patch || `category` | CAFO class name (e.g., Swine, Dairy) || `state` | U.S. state where the patch is located || `verified_label` | Boolean indicating if the label is human-verified || `CAFO_UNIQUE_ID` | Unique identifier for each CAFO facility || `image_type` | Image variant type: `augmented` else real || `orig_patch_file` | Name/path of the original patch (applicable if the image_type is `augmented`) || `prompt` | Text prompt or description for generative/semantic use (if applicable) || `weak_x`, `weak_y` | Collected CAFO center coordinates || `refined_x`, `refined_y` | Refined CAFO center coordinates || `patch_res` | Spatial resolution of the patch in meters per pixel| `split columns` | Flags for different train/test/val splits |---## π§ͺ Train/Test/Val Split FlagsThese are boolean-like flags (`True`/`False`) that indicate inclusion in various dataset splits:- `cafosat_verified_training_train`, `cafosat_verified_training_test`, `cafosat_verified_training_val`- `cafosat_all_training_*`- `cafosat_training_set1_*`, `set2_*`- `cafosat_merged_training_*`- `cafosat_augmented_training_*`Each flag is a binary indicator (`1` = in split, `0` = excluded).---## Labels10 unmodified lines---## π Intended Use- **CAFO detection and classification** β Identify and categorize CAFO facilities from aerial imagery.- **CAFO area detection with bounding box** β Localize CAFOs using annotated bounding box coordinates.- **Agricultural infrastructure mapping** β Map features like barns, manure ponds, and grazing areas.- **Weak supervision and semi-supervised learning** β Leverage partially labeled data for model development.- **Remote sensing benchmark development** β Support standardized evaluation for remote sensing tasks.---
README.md+43-34