Project-AgML/AgML
AgML is a centralized framework for agricultural machine learning. AgML provides access to public agricultural datasets for common agricultural deep learning tasks, with standard benchmarks and pretrained models, as well the ability to generate synthetic data and annotations.
What it solves
AgML addresses the difficulty of accessing and standardizing diverse agricultural datasets for machine learning. It provides a centralized library to discover, download, and load public agricultural data, reducing the time researchers and developers spend on data collection and preprocessing.
How it works
AgML acts as a data layer that integrates with the Hugging Face Hub. It uses a HuggingFaceDataLoader to fetch datasets and provides tools to split data into training, validation, and test sets with optional stratification. The library standardizes common agricultural tasks into specific formats: labels for classification, COCO-style bounding boxes for object detection, and single-channel masks for semantic segmentation. It is designed to be compatible with PyTorch and TensorFlow, and integrates directly with the Hugging Face datasets and transformers libraries for training and inference.
Who it’s for
Agricultural AI researchers, data scientists, and developers building deep learning models for crop monitoring, pest detection, and other agricultural tasks.
Highlights
- Extensive Dataset Access: Provides a wide variety of public agricultural datasets from across the globe, including the massive iNatAg collection with over 4 million images.
- Standardized Formats: Unifies different data sources into consistent formats for classification, detection, and segmentation.
- Seamless Integration: Works out-of-the-box with Hugging Face's ecosystem, allowing users to use standard
TrainerandPipelineclasses. - Framework Agnostic: Supports both PyTorch and TensorFlow.
Related
- Project
- Project
- Project
- Project
- Project