Datasets:
The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: ValueError
Message: Invalid string class label stover@a68536a202af4202a3386855f3bffbe6211c636f
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 274, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 129, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 544, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3074, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2591, in __iter__
example = _apply_feature_types_on_example(
example, self.features, token_per_repo_id=self.token_per_repo_id
)
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2508, in _apply_feature_types_on_example
encoded_example = features.encode_example(example)
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 2252, in encode_example
return encode_nested_example(self, example)
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1526, in encode_nested_example
{k: encode_nested_example(schema[k], obj.get(k), level=level + 1) for k in schema}
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1549, in encode_nested_example
return schema.encode_example(obj) if obj is not None else None
~~~~~~~~~~~~~~~~~~~~~^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1210, in encode_example
example_data = self.str2int(example_data)
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1147, in str2int
output = [self._strval2int(value) for value in values]
~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1168, in _strval2int
raise ValueError(f"Invalid string class label {value}")
ValueError: Invalid string class label stover@a68536a202af4202a3386855f3bffbe6211c636fNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Stover dataset
5,000 downward-facing RGB images of agricultural fields with pixel-level labels for bare soil, green canopy, and crop residue. The images were collected in Kansas and include residue from corn, grain sorghum, soybean, sunflower, and winter wheat.
Contents
- 5,000 images (JPG, 1024 × 1024 pixels, about 1 mm per pixel for photos taken about 1 m above the ground)
- One label per image (PNG, same size, one value per pixel): 0 soil, 1 plant (green canopy), 2 residue
- Five zip files of 1,000 images each. Each zip holds an
image_data/folder (image_NNNN.jpg) and alabel_data/folder (label_NNNN.png). Unzip all five into the same folder to get the complete dataset.
A 100-image sample can be browsed online in the Dataset Explorer. The Stover web app and Windows app classify new photos with a model trained on this dataset: soilwater.github.io/stover.
Citation
Please cite the paper when you use the dataset:
Patrignani, A., Bisheh, M., & Nahitiya, D. (in press). Segmenting crop residue, canopy, and soil in field images: An open dataset and the Stover tool. Agronomy Journal.
@article{patrignani_stover,
author = {Patrignani, A. and Bisheh, M. and Nahitiya, D.},
title = {Segmenting crop residue, canopy, and soil in field images: An open dataset and the Stover tool},
journal = {Agronomy Journal},
note = {In press}
}
License
CC BY 4.0. You may share and adapt the dataset for any purpose, provided you cite the paper above.
Contact
Andres Patrignani, Department of Agronomy, Kansas State University (andrespatrignani@ksu.edu)
- Downloads last month
- 20