Datasets:
image
imagewidth (px) 1.02k
1.02k
| idx
int64 0
899
| label
stringclasses 2
values | longitude
float64 -114.04
-114.03
| latitude
float64 46.7
46.7
| easting
float64 726k
727k
| northing
float64 5.18M
5.18M
| elevation
float64 971
1.06k
| time
float64 20,231B
20,231B
| cluster
int64 0
8
|
---|---|---|---|---|---|---|---|---|---|
0 | present | -114.042321 | 46.699528 | 726,110.876834 | 5,176,023.787118 | 976.099 | 20,230,612,105,227 | 0 |
|
1 | absent | -114.042365 | 46.699427 | 726,107.903797 | 5,176,012.41936 | 975.95 | 20,230,612,105,403.5 | 0 |
|
2 | present | -114.042381 | 46.699374 | 726,106.947365 | 5,176,006.461664 | 975.862 | 20,230,612,105,435.9 | 0 |
|
3 | absent | -114.04236 | 46.699266 | 726,108.970262 | 5,175,994.541823 | 976.048 | 20,230,612,105,526 | 0 |
|
4 | present | -114.042328 | 46.699016 | 726,112.462385 | 5,175,966.900403 | 976.109 | 20,230,612,105,649.8 | 0 |
|
5 | absent | -114.042322 | 46.698992 | 726,113.042797 | 5,175,964.148292 | 976.067 | 20,230,612,105,659.8 | 0 |
|
6 | present | -114.04244 | 46.698948 | 726,104.193118 | 5,175,958.958649 | 975.416 | 20,230,612,105,727 | 0 |
|
7 | absent | -114.042427 | 46.69893 | 726,105.297348 | 5,175,956.975074 | 975.383 | 20,230,612,105,744.3 | 0 |
|
8 | present | -114.042451 | 46.698964 | 726,103.306133 | 5,175,960.763461 | 975.405 | 20,230,612,105,800.3 | 0 |
|
9 | absent | -114.042415 | 46.698995 | 726,105.954937 | 5,175,964.223378 | 975.599 | 20,230,612,105,824.4 | 0 |
|
10 | present | -114.042452 | 46.698993 | 726,103.075134 | 5,175,963.95487 | 975.426 | 20,230,612,105,840.3 | 0 |
|
11 | absent | -114.04248 | 46.699002 | 726,100.95566 | 5,175,964.863247 | 975.294 | 20,230,612,105,854.5 | 0 |
|
12 | present | -114.042486 | 46.698969 | 726,100.587401 | 5,175,961.15861 | 975.242 | 20,230,612,105,914.8 | 0 |
|
13 | absent | -114.0426 | 46.698903 | 726,092.18487 | 5,175,953.46222 | 974.389 | 20,230,612,105,945 | 0 |
|
14 | present | -114.0426 | 46.698884 | 726,092.211283 | 5,175,951.415865 | 974.288 | 20,230,612,110,002.1 | 0 |
|
15 | absent | -114.042627 | 46.698912 | 726,090.027943 | 5,175,954.450418 | 974.218 | 20,230,612,110,023.8 | 0 |
|
16 | absent | -114.042072 | 46.698815 | 726,132.87557 | 5,175,945.276235 | 977.726 | 20,230,612,110,136.5 | 0 |
|
17 | present | -114.042 | 46.698783 | 726,138.508634 | 5,175,941.951938 | 978.478 | 20,230,612,110,210.4 | 0 |
|
18 | absent | -114.041992 | 46.69884 | 726,138.908594 | 5,175,948.273704 | 978.208 | 20,230,612,110,232.3 | 0 |
|
19 | absent | -114.041967 | 46.698869 | 726,140.719341 | 5,175,951.585289 | 978.278 | 20,230,612,110,249.5 | 0 |
|
20 | absent | -114.041943 | 46.698883 | 726,142.443239 | 5,175,953.175616 | 978.361 | 20,230,612,110,314 | 0 |
|
21 | absent | -114.041928 | 46.69892 | 726,143.486825 | 5,175,957.385222 | 978.404 | 20,230,612,110,342.6 | 0 |
|
22 | absent | -114.041893 | 46.698921 | 726,146.129015 | 5,175,957.580278 | 978.622 | 20,230,612,110,353.7 | 0 |
|
23 | absent | -114.04186 | 46.698922 | 726,148.620828 | 5,175,957.784144 | 978.886 | 20,230,612,110,407.1 | 0 |
|
24 | present | -114.041447 | 46.699317 | 726,178.597989 | 5,176,002.819451 | 981.248 | 20,230,612,110,648.3 | 0 |
|
25 | present | -114.04139 | 46.699343 | 726,182.837171 | 5,176,005.921966 | 981.448 | 20,230,612,110,711.5 | 0 |
|
26 | present | -114.041368 | 46.699334 | 726,184.552186 | 5,176,004.959461 | 981.558 | 20,230,612,110,722.7 | 0 |
|
27 | present | -114.041386 | 46.699364 | 726,183.07195 | 5,176,008.248531 | 981.44 | 20,230,612,110,737.6 | 0 |
|
28 | present | -114.041383 | 46.699375 | 726,183.188112 | 5,176,009.454606 | 981.425 | 20,230,612,110,748.1 | 0 |
|
29 | present | -114.041379 | 46.699395 | 726,183.413279 | 5,176,011.690682 | 981.391 | 20,230,612,110,800.2 | 0 |
|
30 | present | -114.041371 | 46.699404 | 726,184.029103 | 5,176,012.719717 | 981.434 | 20,230,612,110,808.2 | 0 |
|
31 | present | -114.041391 | 46.699415 | 726,182.410478 | 5,176,013.867217 | 981.297 | 20,230,612,110,816.7 | 0 |
|
32 | present | -114.041404 | 46.699405 | 726,181.515379 | 5,176,012.691928 | 981.274 | 20,230,612,110,836.4 | 0 |
|
33 | absent | -114.041427 | 46.699427 | 726,179.659611 | 5,176,015.09675 | 981.112 | 20,230,612,110,900.4 | 0 |
|
34 | absent | -114.041437 | 46.699435 | 726,178.831993 | 5,176,016.014746 | 981.014 | 20,230,612,110,910.2 | 0 |
|
35 | absent | -114.041459 | 46.699447 | 726,177.130955 | 5,176,017.257064 | 980.895 | 20,230,612,110,920.3 | 0 |
|
36 | absent | -114.041476 | 46.699438 | 726,175.868127 | 5,176,016.231511 | 980.85 | 20,230,612,110,929.3 | 0 |
|
37 | absent | -114.041486 | 46.699452 | 726,175.023005 | 5,176,017.696292 | 980.748 | 20,230,612,110,938.1 | 0 |
|
38 | present | -114.041497 | 46.699465 | 726,174.164304 | 5,176,019.17614 | 980.625 | 20,230,612,110,949.3 | 0 |
|
39 | present | -114.041504 | 46.699442 | 726,173.716388 | 5,176,016.593429 | 980.71 | 20,230,612,111,017.4 | 0 |
|
40 | present | -114.04156 | 46.699386 | 726,169.646819 | 5,176,010.202624 | 980.495 | 20,230,612,111,038.8 | 0 |
|
41 | present | -114.041577 | 46.699403 | 726,168.29795 | 5,176,012.034563 | 980.367 | 20,230,612,111,054.1 | 0 |
|
42 | present | -114.041569 | 46.6995 | 726,168.49944 | 5,176,022.858604 | 980.119 | 20,230,612,111,138 | 0 |
|
43 | present | -114.041546 | 46.699506 | 726,170.255547 | 5,176,023.551098 | 980.203 | 20,230,612,111,151 | 0 |
|
44 | present | -114.041543 | 46.699524 | 726,170.369225 | 5,176,025.555991 | 980.127 | 20,230,612,111,202.2 | 0 |
|
45 | present | -114.041567 | 46.69952 | 726,168.552772 | 5,176,025.002538 | 980.047 | 20,230,612,111,222 | 0 |
|
46 | present | -114.041578 | 46.699507 | 726,167.754705 | 5,176,023.608364 | 980.049 | 20,230,612,111,231.5 | 0 |
|
47 | present | -114.041634 | 46.699541 | 726,163.381012 | 5,176,027.216998 | 979.684 | 20,230,612,111,252.3 | 0 |
|
48 | present | -114.041631 | 46.699553 | 726,163.536142 | 5,176,028.526905 | 979.63 | 20,230,612,111,305.4 | 0 |
|
49 | present | -114.041643 | 46.699558 | 726,162.570151 | 5,176,029.073623 | 979.539 | 20,230,612,111,319.3 | 0 |
|
50 | present | -114.041691 | 46.699549 | 726,158.984382 | 5,176,027.893946 | 979.376 | 20,230,612,111,339.9 | 0 |
|
51 | present | -114.041715 | 46.699542 | 726,157.169549 | 5,176,027.073512 | 979.275 | 20,230,612,111,351.6 | 0 |
|
52 | absent | -114.041724 | 46.69953 | 726,156.513011 | 5,176,025.722493 | 979.25 | 20,230,612,111,412.7 | 0 |
|
53 | absent | -114.041741 | 46.699529 | 726,155.210641 | 5,176,025.524412 | 979.151 | 20,230,612,111,429.5 | 0 |
|
54 | absent | -114.041765 | 46.699521 | 726,153.389432 | 5,176,024.629189 | 979.033 | 20,230,612,111,444 | 0 |
|
55 | absent | -114.041783 | 46.699479 | 726,152.247354 | 5,176,019.884009 | 979.097 | 20,230,612,111,520 | 0 |
|
56 | absent | -114.041755 | 46.69947 | 726,154.374757 | 5,176,018.96816 | 979.255 | 20,230,612,111,542.8 | 0 |
|
57 | absent | -114.041808 | 46.699488 | 726,150.301169 | 5,176,020.805561 | 978.925 | 20,230,612,111,611.3 | 0 |
|
58 | absent | -114.041842 | 46.699518 | 726,147.52395 | 5,176,024.059213 | 978.674 | 20,230,612,111,635.4 | 0 |
|
59 | absent | -114.041816 | 46.699564 | 726,149.351596 | 5,176,029.22073 | 978.671 | 20,230,612,111,654.8 | 0 |
|
60 | absent | -114.041798 | 46.699576 | 726,150.647672 | 5,176,030.58356 | 978.763 | 20,230,612,111,705.2 | 0 |
|
61 | absent | -114.04177 | 46.699574 | 726,152.778875 | 5,176,030.401117 | 978.905 | 20,230,612,111,716.4 | 0 |
|
62 | present | -114.041888 | 46.699562 | 726,143.853043 | 5,176,028.786953 | 978.35 | 20,230,612,111,803.2 | 0 |
|
63 | present | -114.042021 | 46.699615 | 726,133.447996 | 5,176,034.282897 | 977.534 | 20,230,612,111,903.5 | 0 |
|
64 | present | -114.042081 | 46.699597 | 726,128.973299 | 5,176,032.170756 | 977.295 | 20,230,612,111,940.8 | 0 |
|
65 | present | -114.042104 | 46.699568 | 726,127.333866 | 5,176,028.884531 | 977.269 | 20,230,612,111,955 | 0 |
|
66 | present | -114.042101 | 46.699558 | 726,127.545971 | 5,176,027.743098 | 977.316 | 20,230,612,112,008.2 | 0 |
|
67 | present | -114.042134 | 46.699552 | 726,125.082915 | 5,176,027.019581 | 977.131 | 20,230,612,112,021.1 | 0 |
|
68 | present | -114.042141 | 46.699563 | 726,124.513253 | 5,176,028.203203 | 977.082 | 20,230,612,112,029.8 | 0 |
|
69 | present | -114.042157 | 46.699569 | 726,123.213412 | 5,176,028.731809 | 976.981 | 20,230,612,112,040.2 | 0 |
|
70 | present | -114.042158 | 46.699581 | 726,123.136476 | 5,176,030.065257 | 976.97 | 20,230,612,112,050.7 | 0 |
|
71 | present | -114.042197 | 46.699562 | 726,120.229037 | 5,176,027.906352 | 976.817 | 20,230,612,112,104.4 | 0 |
|
72 | present | -114.042184 | 46.699546 | 726,121.282342 | 5,176,026.197924 | 976.917 | 20,230,612,112,122.7 | 0 |
|
73 | present | -114.042164 | 46.699528 | 726,122.857568 | 5,176,024.188669 | 977.045 | 20,230,612,112,144 | 0 |
|
74 | present | -114.042194 | 46.69952 | 726,120.62784 | 5,176,023.204657 | 976.887 | 20,230,612,112,204.6 | 0 |
|
75 | present | -114.042189 | 46.69951 | 726,121.040642 | 5,176,022.120842 | 976.938 | 20,230,612,112,215 | 0 |
|
76 | absent | -114.042173 | 46.699495 | 726,122.317718 | 5,176,020.487591 | 977.049 | 20,230,612,112,231.1 | 0 |
|
77 | absent | -114.04219 | 46.699476 | 726,121.110771 | 5,176,018.362588 | 976.902 | 20,230,612,112,242.9 | 0 |
|
78 | absent | -114.042173 | 46.699453 | 726,122.512047 | 5,176,015.869447 | 977.036 | 20,230,612,112,300.8 | 0 |
|
79 | absent | -114.042162 | 46.699438 | 726,123.440907 | 5,176,014.274286 | 977.135 | 20,230,612,112,312.3 | 0 |
|
80 | absent | -114.042195 | 46.699442 | 726,120.895348 | 5,176,014.543526 | 976.923 | 20,230,612,112,338.5 | 0 |
|
81 | absent | -114.042218 | 46.699439 | 726,119.135154 | 5,176,014.122389 | 976.784 | 20,230,612,112,347.7 | 0 |
|
82 | absent | -114.042221 | 46.699425 | 726,118.965019 | 5,176,012.600508 | 976.788 | 20,230,612,112,357.2 | 0 |
|
83 | absent | -114.042236 | 46.699431 | 726,117.775982 | 5,176,013.27682 | 976.684 | 20,230,612,112,409.9 | 0 |
|
84 | present | -114.042682 | 46.698894 | 726,085.908577 | 5,175,952.31273 | 973.869 | 20,230,612,113,035.6 | 0 |
|
85 | present | -114.042656 | 46.69887 | 726,088.025223 | 5,175,949.728532 | 973.976 | 20,230,612,113,050.1 | 0 |
|
86 | absent | -114.04271 | 46.698697 | 726,084.636585 | 5,175,930.292638 | 973.445 | 20,230,612,113,134.9 | 0 |
|
87 | absent | -114.042695 | 46.698699 | 726,085.727284 | 5,175,930.582886 | 973.553 | 20,230,612,113,142.2 | 0 |
|
88 | absent | -114.042686 | 46.69869 | 726,086.453116 | 5,175,929.62322 | 973.616 | 20,230,612,113,150 | 0 |
|
89 | absent | -114.042678 | 46.698682 | 726,087.112119 | 5,175,928.689971 | 973.655 | 20,230,612,113,157.3 | 0 |
|
90 | absent | -114.042692 | 46.698657 | 726,086.167882 | 5,175,925.868298 | 973.559 | 20,230,612,113,208.8 | 0 |
|
91 | present | -114.042741 | 46.698687 | 726,082.322866 | 5,175,929.057356 | 973.193 | 20,230,612,113,358.4 | 0 |
|
92 | present | -114.042733 | 46.698698 | 726,082.875299 | 5,175,930.408901 | 973.251 | 20,230,612,113,412 | 0 |
|
93 | present | -114.042792 | 46.698669 | 726,078.433816 | 5,175,926.962826 | 972.885 | 20,230,612,113,446.8 | 0 |
|
94 | absent | -114.042872 | 46.698617 | 726,072.601899 | 5,175,920.956482 | 972.412 | 20,230,612,113,511.6 | 0 |
|
95 | absent | -114.042859 | 46.69861 | 726,073.585407 | 5,175,920.229039 | 972.501 | 20,230,612,113,520 | 0 |
|
96 | absent | -114.042919 | 46.698619 | 726,068.952962 | 5,175,921.027377 | 972.09 | 20,230,612,113,535.5 | 0 |
|
97 | absent | -114.042928 | 46.698606 | 726,068.317277 | 5,175,919.528054 | 972.043 | 20,230,612,113,545.4 | 0 |
|
98 | absent | -114.042957 | 46.698601 | 726,066.099955 | 5,175,918.966242 | 971.851 | 20,230,612,113,602.8 | 0 |
|
99 | present | -114.036591 | 46.704903 | 726,526.409955 | 5,176,637.422324 | 999.418 | 20,230,612,120,319.8 | 1 |

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
Data Access
Please install the following dependencies to load Leafy Spurge Dataset:
pip install datasets pillow
Download the dataset as follows:
#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:
@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.
@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}
}
- Downloads last month
- 734