Datasets:
Dataset Viewer
The dataset viewer is not available for this subset.
Cannot get the split names for the config 'default' of the dataset.
Exception: SplitsNotFoundError
Message: The split names could not be parsed from the dataset config.
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 289, in get_dataset_config_info
for split_generator in builder._split_generators(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/folder_based_builder/folder_based_builder.py", line 237, in _split_generators
raise ValueError(
ValueError: `file_name` or `*_file_name` must be present as dictionary key (with type string) in metadata files
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 65, in compute_split_names_from_streaming_response
for split in get_dataset_split_names(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 343, in get_dataset_split_names
info = get_dataset_config_info(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 294, in get_dataset_config_info
raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Agri-Foundation-145k: A Unified Agricultural Foundation Dataset
Dataset Summary
Agri-Foundation-145k is a large-scale, taxonomically harmonized dataset designed for pre-training agricultural foundation models. It aggregates, cleans, and normalizes data from eight major open-access repositories, resolving semantic ambiguities and removing over 50,000 duplicate images to create a robust benchmark for Domain Generalized Plant Disease Detection.
Key Features
- Size: 144,751 Images
- Classes: 215 Unified Biological Classes (Crop + Disease/Healthy)
- Sources: PlantVillage, PlantDoc, New Plant Diseases (Kaggle), Tomato Leaf (Mendeley), Cassava Leaf Disease, Wheat Leaf Disease, PlantSeg, PlantWild.
- Normalization: Mapped disparate labels (e.g., "Tomato_Blight" vs "Tomato_Early_Blight") into a single scientific taxonomy.
- Quality:
- Deduplicated: 51,323 duplicate images (cross-dataset contamination) removed via MD5 hashing.
- Merged: 128 redundant classes (e.g.,
_google,_bingscrapes) merged into 55 base biological entities, rescuing 54 classes from being underrepresented. - Verified: All images validated for file integrity.
Supported Tasks
- Pre-training: Ideal for self-supervised learning (MAE, DINO) or supervised pre-training of backbones (MobileNet, ResNet, ViT).
- Domain Adaptation: Contains both lab-controlled (PlantVillage) and "in-the-wild" (PlantDoc) images for the same classes, enabling Sim-to-Real research.
- Fine-grained Classification: Distinguishes between visually similar pathogens (e.g., Cercospora vs. Septoria).
Dataset Structure
The dataset follows the standard ImageFolder format:
data/
βββ apple_black_rot/
β βββ plantvillage_image_001.jpg
β βββ new_plant_diseases_image_045.jpg
β βββ ...
βββ tomato_early_blight/
β βββ ...
βββ ...
A metadata.csv is provided containing:
filename: Image filename.label: The unified class label.source: The original dataset source (provenance).crop: The crop type.disease: The specific pathology.release_path: Path relative to the dataset root.
Construction Methodology
- Aggregation: Eight public datasets were ingested.
- Normalization: A "Fuzzy Alignment" algorithm mapped 200+ raw directory names to canonical biological entities.
- Deduplication: MD5 hashing identified and removed duplicate images caused by cross-pollination between source datasets (e.g., New Plant Diseases containing subsets of PlantVillage).
- Refinement: Classes with search-engine suffixes (e.g.,
_google,_baidu) were merged into their base classes to improve class balance. - Verification: All images were verified for file integrity.
Licensing
This dataset is a composite work.
- Original images retain the licenses of their respective source datasets (mostly CC-BY-SA 3.0 or CC-BY 4.0).
- This unified compilation and metadata are released under CC-BY-SA 4.0.
Citation
If you use this dataset, please cite:
@dataset{agri_foundation_145k,
author = {Your Name},
title = {Agri-Foundation-145k: A Unified Agricultural Foundation Dataset},
year = {2026},
publisher = {Hugging Face},
version = {1.0}
}
- Downloads last month
- 45,517