Datasets:
File size: 5,206 Bytes
d83e640 4a42423 de12fd2 4a42423 d83e640 28e9c23 de12fd2 d83e640 de12fd2 28e9c23 8ba9723 de12fd2 28e9c23 ede1689 de12fd2 b6dd68a bdbff2b b80c65a 8336629 0335c10 b6dd68a 98e0999 54f95d0 728fd1e 98e0999 f5bcbb1 cf12b0d f5bcbb1 2353d60 ca5c95e a96cc7e cf12b0d fcc7705 b80c65a cf12b0d b80c65a ede1689 b80c65a b656c1a cf12b0d 755336b c14b77c b6cec9b caaeb06 b6cec9b 7273257 b6cec9b 755336b fcc7705 c14b77c caaeb06 fcc7705 b892284 fcc7705 b80c65a b6cec9b c14b77c b80c65a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
---
dataset_info:
features:
- name: image
dtype: image
- name: idx
dtype: int64
- name: label
dtype: string
- name: longitude
dtype: float64
- name: latitude
dtype: float64
- name: easting
dtype: float64
- name: northing
dtype: float64
- name: elevation
dtype: float64
- name: time
dtype: int64
- name: cluster
dtype: int64
configs:
- config_name: context
drop_labels: false
data_files:
- split: train
path:
- data/context/train/**/*.tif
- data/context/train/metadata.csv
- split: test
path:
- data/context/test/**/*.tif
- data/context/test/metadata.csv
- config_name: crop
drop_labels: false
data_files:
- split: train
path:
- data/crop/train/**/*.tif
- data/crop/train/metadata.csv
- split: test
path:
- data/crop/test/**/*.tif
- data/crop/test/metadata.csv
- config_name: unlabeled
data_files:
- split: train
path:
- data/orthomosaic/*.tif
license: cc-by-4.0
citation_bibtex: |
@misc{doherty2025leafyspurge,
title={Leafy Spurge Dataset},
author={
Doherty, Kyle and
Gurinas, Max and
Samsoe, Erik and
Casper, Charles and
Larkin, Beau and
Ramsey, Philip and
Trabucco, Brandon and
Salakhutdinov, Ruslan
},
year={2025},
howpublished = {\url{https://huggingface.co/datasets/kylewdoherty/leafy-spurge}},
doi={10.57967/hf/2508},
}
date_published: 2024-05-02
language:
- en
pretty_name: Leafy Spurge Dataset
size_categories:
- n<1K
---
<img src="https://huggingface.co/datasets/mpg-ranch/leafy_spurge/resolve/main/doc_figures/spurge_photo_2_panel.png" width="100%">
# Background
This dataset comprises 1.3 cm resolution aerial images of grasslands in western Montana, USA, captured by a commercial drone. Many scenes contain leafy spurge (*Euphorbia esula*), introduced to North America, now widespread in rangeland ecosystems, which is highly invasive and damaging to crop production and biodiversity. Technicians surveyed 1000 points in the study area, noting spurge presence or absence, and recorded each point’s position with precision global navigation satellite systems. We extracted crops from an orthoimage at these locations. We publicly release these images and metadata as a Hugging Face Dataset, accessible in one line of code. Our aim is to invite the research community to develop classifiers as early warning systems for spurge invasion. We established baselines for state-of-the-art vision models, achieving 0.85 test accuracy, demonstrating the feasibility yet difficulty of this classification task.
Please visit our website for updates and related work: [Leafy Spurge Dataset](https://leafy-spurge-dataset.github.io)
# Data Access
Please install the following dependencies to load Leafy Spurge Dataset:
```bash
pip install datasets pillow
```
Download the dataset as follows:
```python
#datasets module documentation at:
#https://huggingface.co/docs/datasets/en/quickstart
from datasets import load_dataset
#39x39 pixel train and test data
crop_train = load_dataset('mpg-ranch/leafy_spurge', 'crop', split='train')
crop_test = load_dataset('mpg-ranch/leafy_spurge', 'crop', split='test')
#1024x1024 pixel train and test data
context_train = load_dataset('mpg-ranch/leafy_spurge', 'context', split='train')
context_test = load_dataset('mpg-ranch/leafy_spurge', 'context', split='test')
#unlabeled orthomosaic
orthomosaic = load_dataset('mpg-ranch/leafy_spurge', 'unlabeled', split='train')
# Get the first observation from the crop training set
first_observation = crop_train[0]
# Extract the image and metadata
image = first_observation['image']
metadata = {key: value for key, value in first_observation.items() if key != 'image'}
# Print the metadata and show image
print("Metadata for the first observation:")
for key, value in metadata.items():
print(f"{key}: {value}")
image.show()
```
# Suggested Citation
To cite this Hugging Face Dataset repository, we suggest:
```bibtex
@misc{doherty2025spurgedata,
title={Leafy Spurge Dataset},
author={
Doherty, Kyle and
Gurinas, Max and
Samsoe, Erik and
Casper, Charles and
Larkin, Beau and
Ramsey, Philip and
Trabucco, Brandon and
Salakhutdinov, Ruslan
},
year={2025},
howpublished = {Hugging Face Datasets, \url{https://huggingface.co/datasets/kylewdoherty/leafy-spurge}},
doi={10.57967/hf/2508},
}
```
This dataset accompanies our manuscript entitled “Ground-truthed and high-resolution drone images of the leafy spurge weed plant (*Euphorbia esula*)”, which has been provisionally accepted (pending minor revisions) at Scientific Data. Upon final publication, we will update this citation to reflect the journal-assigned DOI.
```bibtex
@article{doherty2025spurgedescriptor,
title = {Ground-truthed and high-resolution drone images of the leafy spurge weed plant (Euphorbia esula)},
author = {Doherty, Kyle and
Gurinas, Max and
Samsoe, Erik and
Casper, Charles and
Larkin, Beau and
Ramsey, Philip and
Trabucco, Brandon and
Salakhutdinov, Ruslan},
journal = {Scientific Data},
year = {2025},
doi = {UPDATES PENDING}
}
```
|