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.
Apache License 2.0
167 stars 28 forks source link

Introduce benchmarks and pretrained models + custom datasets #25

Closed amogh7joshi closed 1 year ago

amogh7joshi commented 1 year ago

This is the precursor for AgML v0.3.0, introducing the agml.models module. The main new features introduced in this release are:

  1. agml.models module:
    1. Model architectures for image classification, semantic segmentation, and object detection.
    2. Benchmarks and pretrained weights for semantic segmentation and object detection models.
    3. agml.models.metrics module with image classification accuracy and object detection mean average precision.
  2. agml.data updates:
    1. Load multiple datasets into a single AgMLDataLoader.
    2. Load custom datasets using agml.data.AgMLDataLoader.custom().
    3. Better functionality for reducing datasets: take a random quantity of samples with take_random or take all samples with a specific class with take_class.

Other major feature improvements include:

  1. Transforms are now applied in an order based on the time at which they are called for the AgMLDataLoader, rather than being ordered by category.
  2. New methods in the visualization module for better and easier displaying of images and results.
  3. A wide range of bugfixes (to be detailed further in the official release).