AgML  by Project-AgML

Agricultural ML framework for data access and training

Created 4 years ago
289 stars

Top 90.8% on SourcePulse

GitHubView on GitHub
Project Summary

AgML is a centralized Python framework designed to streamline machine learning workflows in agriculture. It provides unified access to numerous public agricultural datasets, standard benchmarks, and tools for data preprocessing, training, and evaluation, aiming to simplify the adoption of deep learning for agricultural tasks. The framework supports both TensorFlow and PyTorch, offering a common interface for researchers and practitioners to leverage diverse agricultural data.

How It Works

AgML centralizes agricultural data access through its AgMLDataLoader, enabling users to download, load, and preprocess datasets with ease. It supports common ML operations like batching, shuffling, data splitting, and applying transformations (e.g., using albumentations). The framework is designed to be backend-agnostic, offering seamless integration with both TensorFlow and PyTorch, and includes functionality to export data loaders into native formats for these frameworks, facilitating direct use in training pipelines.

Quick Start & Requirements

  • Primary install: pip install agml
  • Prerequisites: Some features, such as synthetic data generation, require GUI applications. When using Windows Subsystem for Linux (WSL), users may need to configure their WSL environment to support Linux GUI applications, following Microsoft's documentation.
  • Dependencies: albumentations (implied by usage examples).
  • Documentation: No direct links to official quick-start guides or comprehensive documentation were found in the provided README.

Highlighted Details

  • Provides access to a wide array of public agricultural datasets covering tasks like image classification, object detection, and semantic segmentation.
  • Features direct API access to iNatAg and iNatAg-mini, one of the largest collections of agricultural images for classification, totaling over 4 million images.
  • Supports standardized annotation formats for common agricultural ML tasks.
  • Includes a training module for quick-start training of standard deep learning models on agricultural datasets.

Maintenance & Community

The project is actively seeking a postdoc to lead development, indicating ongoing investment. Contributions are welcomed via the GitHub Issues tab. The project receives funding from the National AI Institute for Food Systems.

Licensing & Compatibility

The provided README text does not specify a software license. This absence poses a significant adoption blocker, as license type and compatibility for commercial or closed-source use cannot be determined.

Limitations & Caveats

Certain advanced features, like synthetic data generation, have specific environmental requirements (WSL GUI configuration) that may complicate setup. The README outlines future plans for more ag-specific ML functionality, suggesting some capabilities may still be under development. The lack of explicit licensing information is a critical caveat for potential adopters.

Health Check
Last Commit

1 week ago

Responsiveness

Inactive

Pull Requests (30d)
2
Issues (30d)
0
Star History
6 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.