diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml deleted file mode 100644 index 200f625c..00000000 --- a/.github/workflows/docs.yml +++ /dev/null @@ -1,61 +0,0 @@ -name: docs -on: [workflow_dispatch] - -permissions: - contents: read - pages: write - id-token: write - -concurrency: - group: "pages" - cancel-in-progress: false - - -jobs: - deploy: - environment: - name: documentation - url: ${{steps.deployment.outputs.page_url}} - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Configure Git Credentials - run: | - git config user.name github-actions[bot] - git config user.email 41898282+github-actions[bot]@users.noreply.github.com - - uses: actions/setup-python@v5 - with: - python-version: '3.12' - - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV - - uses: actions/cache@v4 - with: - key: mkdocs-material-${{ env.cache_id }} - path: .cache - restore-keys: | - mkdocs-material- - - - name: Install the latest version of uv - uses: astral-sh/setup-uv@v3 - with: - version: "latest" - enable-cache: true - cache-dependency-glob: "**/pyproject.toml" - - - name: Check if cache used - if: steps.setup-uv.outputs.cache-hit == 'true' - run: echo "Cache was restored" - - - run: uv sync --only-group docs - - - run: uv run properdocs build --config-file config/mkdocs.yml - - # - run: uv run mkdocs gh-deploy --force --config-file config/mkdocs.yml - - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 - with: - # Upload entire repository - path: 'site/' - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 diff --git a/.github/workflows/update-datasets.yml b/.github/workflows/update-datasets.yml deleted file mode 100644 index bff4e2a9..00000000 --- a/.github/workflows/update-datasets.yml +++ /dev/null @@ -1,46 +0,0 @@ -# This workflow will install Python dependencies, run tests and lint with a single version of Python -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python - -name: Update Datasets - -on: - push: - paths: - - agml/_assets/public_datasources.json - branches: - - dev - workflow_dispatch: - -permissions: write-all - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - with: - ref: dev - - name: Set up Python 3.10 - uses: actions/setup-python@v5 - with: - python-version: "3.10" - - name: Install dependencies - run: | - python -m pip install --upgrade pip uv - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - uv pip install --system -e . - - name: Configure Git - run: | - git config user.name 'github-actions[bot]' - git config user.email 'github-actions[bot]@users.noreply.github.com' - - name: Update Datasets - run: | - python scripts/run_full_dataset_update.py - git add -f agml/_assets/* - git add -f docs/ - git add README.md - git commit -m "Updated information for new dataset" - git push origin dev - diff --git a/config/mkdocs.yml b/config/mkdocs.yml deleted file mode 100644 index 146afaf7..00000000 --- a/config/mkdocs.yml +++ /dev/null @@ -1,189 +0,0 @@ -site_name: "AgML" -site_description: "A comprehensive library for agricultural deep learning" -site_url: "" - -repo_url: "https://github.com/Project-AgML/AgML" -repo_name: "AgML" - -watch: - [ - ../config/mkdocs.yml, - ../README.md, - ../LICENSE, - ../CODE_OF_CONDUCT.md, - ../CONTRIBUTING.md, - ../agml, - ../docs, - ] - -copyright: Copyright © 2024 -edit_uri: edit/main/docs/ - -docs_dir: ../docs -site_dir: ../site - -use_directory_urls: false -validation: - omitted_files: warn - absolute_links: warn - unrecognized_links: warn - -nav: - - Home: - - Overview: index.md - - Changelog: changelog.md - - Credits: credits.md - - License: license.md - - Datasets: - - Dataset Listing: dataset_listing.md - - Datasets: datasets/ - # defer to gen-files + literate-nav - - API reference: - - AgML: reference/ - - Development: - - Contributing: development.md - - Code of Conduct: code_of_conduct.md - - Coverage report: coverage.md - -theme: - name: material - logo: assets/agml-logo.png - custom_dir: ../docs/overrides - features: - - announce.dismiss - - content.action.edit - - content.action.view - - content.code.annotate - - content.code.copy - - content.tooltips - - navigation.footer - - navigation.indexes - - navigation.sections - - navigation.tabs - - navigation.tabs.sticky - - navigation.top - - search.highlight - - search.suggest - - toc.follow - palette: - - media: "(prefers-color-scheme)" - toggle: - icon: material/brightness-auto - name: Switch to light mode - - media: "(prefers-color-scheme: light)" - scheme: default - primary: teal - accent: purple - toggle: - icon: material/weather-sunny - name: Switch to dark mode - - media: "(prefers-color-scheme: dark)" - scheme: slate - primary: black - accent: lime - toggle: - icon: material/weather-night - name: Switch to system preference - -extra_css: - - css/material.css - - css/mkdocstrings.css - -extra_javascript: - - js/feedback.js - -markdown_extensions: - - attr_list - - admonition - - callouts - - footnotes - - pymdownx.emoji: - emoji_index: !!python/name:material.extensions.emoji.twemoji - emoji_generator: !!python/name:material.extensions.emoji.to_svg - - pymdownx.magiclink - - pymdownx.snippets: - base_path: - [ - !relative $config_dir, - README.md, - LICENSE, - CONTRIBUTING.md, - CODE_OF_CONDUCT.md, - scripts, - pyproject.toml, - ] - check_paths: true - - - pymdownx.superfences - - pymdownx.tabbed: - alternate_style: true - slugify: !!python/object/apply:pymdownx.slugs.slugify - kwds: - case: lower - - pymdownx.tasklist: - custom_checkbox: true - - toc: - permalink: true - -plugins: - - search - - markdown-exec - - gen-files: - scripts: - - ../scripts/docs/gen_ref_nav.py - - literate-nav: - nav_file: SUMMARY.md - - coverage - - mkdocstrings: - handlers: - python: - import: - - https://docs.python.org/3/objects.inv - paths: [../agml] - options: - docstring_options: - ignore_init_summary: true - docstring_section_style: list - filters: ["!^_"] - heading_level: 1 - inherited_members: true - merge_init_into_class: true - separate_signature: true - show_root_heading: true - show_root_full_path: false - show_signature_annotations: true - show_source: true - show_symbol_type_heading: true - show_symbol_type_toc: true - signature_crossrefs: true - summary: true - - git-revision-date-localized: - enabled: !ENV [DEPLOY, false] - enable_creation_date: true - type: timeago - - minify: - minify_html: !ENV [DEPLOY, false] - - group: - enabled: !ENV [MATERIAL_INSIDERS, false] - plugins: - - typeset - -extra: - social: - - icon: fontawesome/brands/github - link: https://github.com/Project-AgML/AgML - - icon: fontawesome/brands/python - link: https://pypi.org/project/agml/ - - analytics: - feedback: - title: Was this page helpful? - ratings: - - icon: material/emoticon-happy-outline - name: This page was helpful - data: 1 - note: Thanks for your feedback! - - icon: material/emoticon-sad-outline - name: This page could be improved - data: 0 - note: Let us know how we can improve this page. diff --git a/docs/assets/agml-framework.png b/docs/assets/agml-framework.png deleted file mode 100644 index b8dbee64..00000000 Binary files a/docs/assets/agml-framework.png and /dev/null differ diff --git a/docs/assets/agml-logo-wide.png b/docs/assets/agml-logo-wide.png deleted file mode 100644 index 42e85aaa..00000000 Binary files a/docs/assets/agml-logo-wide.png and /dev/null differ diff --git a/docs/assets/agml-logo.png b/docs/assets/agml-logo.png deleted file mode 100644 index 5b11b517..00000000 Binary files a/docs/assets/agml-logo.png and /dev/null differ diff --git a/docs/assets/agml_dataset_world_map.png b/docs/assets/agml_dataset_world_map.png deleted file mode 100644 index 2e001512..00000000 Binary files a/docs/assets/agml_dataset_world_map.png and /dev/null differ diff --git a/docs/code_of_conduct.md b/docs/code_of_conduct.md deleted file mode 100644 index 22f934ef..00000000 --- a/docs/code_of_conduct.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -hide: -- feedback ---- - -# Code of Conduct - ---8<-- "CODE_OF_CONDUCT.md" diff --git a/docs/credits.md b/docs/credits.md deleted file mode 100644 index 9322404b..00000000 --- a/docs/credits.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -hide: -- toc ---- - - -```python exec="yes" ---8<-- "docs/gen_credits.py" -``` - diff --git a/docs/css/material.css b/docs/css/material.css deleted file mode 100644 index 9e8c14a6..00000000 --- a/docs/css/material.css +++ /dev/null @@ -1,4 +0,0 @@ -/* More space at the bottom of the page. */ -.md-main__inner { - margin-bottom: 1.5rem; -} diff --git a/docs/css/mkdocstrings.css b/docs/css/mkdocstrings.css deleted file mode 100644 index 88c73575..00000000 --- a/docs/css/mkdocstrings.css +++ /dev/null @@ -1,27 +0,0 @@ -/* Indentation. */ -div.doc-contents:not(.first) { - padding-left: 25px; - border-left: .05rem solid var(--md-typeset-table-color); -} - -/* Mark external links as such. */ -a.external::after, -a.autorefs-external::after { - /* https://primer.style/octicons/arrow-up-right-24 */ - mask-image: url('data:image/svg+xml,'); - -webkit-mask-image: url('data:image/svg+xml,'); - content: ' '; - - display: inline-block; - vertical-align: middle; - position: relative; - - height: 1em; - width: 1em; - background-color: currentColor; -} - -a.external:hover::after, -a.autorefs-external:hover::after { - background-color: var(--md-accent-fg-color); -} \ No newline at end of file diff --git a/docs/dataset_listing.md b/docs/dataset_listing.md deleted file mode 100644 index af6a1b58..00000000 --- a/docs/dataset_listing.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -hide: -- toc ---- - - -```python exec="yes" ---8<-- "docs/gen_dataset_list.py" -``` - diff --git a/docs/datasets/almond_bloom_2023.md b/docs/datasets/almond_bloom_2023.md deleted file mode 100644 index e9c694c3..00000000 --- a/docs/datasets/almond_bloom_2023.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `almond_bloom_2023` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | Visible Fruit/Flower | -| **Machine Learning Task** | object_detection | -| **Agricultural Task** | flower_detection | -| **Location** | United States, North America | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | ground | -| **Annotation Format** | coco_json | -| **Input Data Format** | JPG | -| **Number of Images** | 100 | -| **Documentation** | None | -| **Stats/Mean** | [0.328, 0.349, 0.349] | -| **Stats/Standard Deviation** | [0.237, 0.247, 0.24] | - - -## Examples - -![Example Images for almond_bloom_2023](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/almond_bloom_2023_examples.png) \ No newline at end of file diff --git a/docs/datasets/almond_harvest_2021.md b/docs/datasets/almond_harvest_2021.md deleted file mode 100644 index c25ab2f4..00000000 --- a/docs/datasets/almond_harvest_2021.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `almond_harvest_2021` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | Visible Fruit/Flower, Partially Visible Fruit/Flower, Visible Occluded Fruit/Flower, Partially Visible Occluded Fruit/Flower | -| **Machine Learning Task** | object_detection | -| **Agricultural Task** | fruit_detection | -| **Location** | United States, North America | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | ground | -| **Annotation Format** | coco_json | -| **Input Data Format** | JPG | -| **Number of Images** | 50 | -| **Documentation** | None | -| **Stats/Mean** | [0.151, 0.152, 0.148] | -| **Stats/Standard Deviation** | [0.17, 0.17, 0.167] | - - -## Examples - -![Example Images for almond_harvest_2021](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/almond_harvest_2021_examples.png) \ No newline at end of file diff --git a/docs/datasets/apple_detection_drone_brazil.md b/docs/datasets/apple_detection_drone_brazil.md deleted file mode 100644 index cd43b6ec..00000000 --- a/docs/datasets/apple_detection_drone_brazil.md +++ /dev/null @@ -1,24 +0,0 @@ - -# `apple_detection_drone_brazil` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | apple | -| **Machine Learning Task** | object_detection | -| **Agricultural Task** | fruit_detection | -| **Location** | Brazil, South America | -| **Sensor Modality** | RGB | -| **Platform** | ground | -| **Input Data Format** | JPG | -| **Annotation Format** | coco_json | -| **Number of Images** | 689 | -| **Documentation** | https://github.com/thsant/add256/tree/zenodo-1.0 | -| **Stats/Mean** | [0.336, 0.482, 0.32] | -| **Stats/Standard Deviation** | [0.184, 0.187, 0.173] | - - -## Examples - -![Example Images for apple_detection_drone_brazil](../sample_images/apple_detection_drone_brazil_examples.png) \ No newline at end of file diff --git a/docs/datasets/apple_detection_spain.md b/docs/datasets/apple_detection_spain.md deleted file mode 100644 index 6f7a58cc..00000000 --- a/docs/datasets/apple_detection_spain.md +++ /dev/null @@ -1,24 +0,0 @@ - -# `apple_detection_spain` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | apple | -| **Machine Learning Task** | object_detection | -| **Agricultural Task** | fruit_detection | -| **Location** | Spain, Europe | -| **Sensor Modality** | RGB | -| **Platform** | ground | -| **Input Data Format** | JPG | -| **Annotation Format** | coco_json | -| **Number of Images** | 967 | -| **Documentation** | https://www.grap.udl.cat/en/publications/KFuji_RGBDS_database.html | -| **Stats/Mean** | [0.375, 0.47, 0.393] | -| **Stats/Standard Deviation** | [0.272, 0.28, 0.283] | - - -## Examples - -![Example Images for apple_detection_spain](../sample_images/apple_detection_spain_examples.png) \ No newline at end of file diff --git a/docs/datasets/apple_detection_usa.md b/docs/datasets/apple_detection_usa.md deleted file mode 100644 index efb22bff..00000000 --- a/docs/datasets/apple_detection_usa.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `apple_detection_usa` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | object_detection | -| **Agricultural Task** | fruit_detection | -| **Location** | United States, North America | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | ground | -| **Input Data Format** | PNG | -| **Annotation Format** | coco_json | -| **Number of Images** | 2290 | -| **Documentation** | https://hdl.handle.net/2376/17721 | -| **Stats/Mean** | [0.281, 0.29, 0.278] | -| **Stats/Standard Deviation** | [0.189, 0.186, 0.189] | -| **Classes** | apple | - - -## Examples - -![Example Images for apple_detection_usa](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/apple_detection_usa_examples.png) \ No newline at end of file diff --git a/docs/datasets/apple_flower_segmentation.md b/docs/datasets/apple_flower_segmentation.md deleted file mode 100644 index d330a6a5..00000000 --- a/docs/datasets/apple_flower_segmentation.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `apple_flower_segmentation` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | semantic_segmentation | -| **Agricultural Task** | flower_segmentation | -| **Location** | United States, North America | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | ground | -| **Input Data Format** | JPG | -| **Annotation Format** | image | -| **Number of Images** | 148 | -| **Documentation** | https://data.nal.usda.gov/dataset/data-multi-species-fruit-flower-detection-using-refined-semantic-segmentation-network | -| **Stats/Mean** | [0.458, 0.479, 0.405] | -| **Stats/Standard Deviation** | [0.204, 0.193, 0.216] | -| **Classes** | apple | - - -## Examples - -![Example Images for apple_flower_segmentation](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/apple_flower_segmentation_examples.png) \ No newline at end of file diff --git a/docs/datasets/apple_segmentation_minnesota.md b/docs/datasets/apple_segmentation_minnesota.md deleted file mode 100644 index 7cfb64f1..00000000 --- a/docs/datasets/apple_segmentation_minnesota.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `apple_segmentation_minnesota` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | semantic_segmentation | -| **Agricultural Task** | fruit_segmentation | -| **Location** | United States, North America | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | ground | -| **Input Data Format** | PNG | -| **Annotation Format** | image | -| **Number of Images** | 670 | -| **Documentation** | https://rsn.umn.edu/projects/orchard-monitoring/minneapple | -| **Stats/Mean** | [0.374, 0.437, 0.338] | -| **Stats/Standard Deviation** | [0.263, 0.288, 0.331] | -| **Classes** | apple | - - -## Examples - -![Example Images for apple_segmentation_minnesota](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/apple_segmentation_minnesota_examples.png) \ No newline at end of file diff --git a/docs/datasets/arabica_coffee_leaf_disease_classification.md b/docs/datasets/arabica_coffee_leaf_disease_classification.md deleted file mode 100644 index 6fe04dfe..00000000 --- a/docs/datasets/arabica_coffee_leaf_disease_classification.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `arabica_coffee_leaf_disease_classification` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | arabica_coffee_leaf_disease_classification | -| **Location** | Kenya, Africa | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | uav | -| **Input Data Format** | jpg, jpeg | -| **Annotation Format** | directory_names | -| **Number of Images** | 58549 | -| **Documentation** | https://www.sciencedirect.com/science/article/pii/S2352340921004261?via%3Dihub#sec0001 | -| **Classes** | Cerscospora, Healthy, Leaf_rust, Miner, Phoma | -| **Stats/Mean** | [0.466, 0.613, 0.405] | -| **Stats/Standard Deviation** | [0.132, 0.101, 0.139] | - - -## Examples - -![Example Images for arabica_coffee_leaf_disease_classification](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/arabica_coffee_leaf_disease_classification_examples.png) \ No newline at end of file diff --git a/docs/datasets/autonomous_greenhouse_regression.md b/docs/datasets/autonomous_greenhouse_regression.md deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/datasets/banana_leaf_disease_classification.md b/docs/datasets/banana_leaf_disease_classification.md deleted file mode 100644 index c93969a8..00000000 --- a/docs/datasets/banana_leaf_disease_classification.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `banana_leaf_disease_classification` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | banana_leaf_disease_classification | -| **Location** | Ethiopia, Africa | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | uav | -| **Input Data Format** | JPG | -| **Annotation Format** | directory_names | -| **Number of Images** | 1288 | -| **Documentation** | https://www.researchgate.net/publication/380900090_Sigatoka_and_Xanthomonas_Banana_Leaf_Disease_Detection_Via_Transfer_Learning | -| **Classes** | healthy, segatoka, xamthomonas | -| **Stats/Mean** | [0.44, 0.479, 0.23] | -| **Stats/Standard Deviation** | [0.205, 0.204, 0.186] | - - -## Examples - -![Example Images for banana_leaf_disease_classification](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/banana_leaf_disease_classification_examples.png) \ No newline at end of file diff --git a/docs/datasets/bean_disease_uganda.md b/docs/datasets/bean_disease_uganda.md deleted file mode 100644 index 64197727..00000000 --- a/docs/datasets/bean_disease_uganda.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `bean_disease_uganda` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | disease_classification | -| **Location** | Uganda, Africa | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | handheld | -| **Input Data Format** | JPG | -| **Annotation Format** | directory_names | -| **Number of Images** | 1295 | -| **Documentation** | https://github.com/AI-Lab-Makerere/ibean/ | -| **Classes** | angular_leaf_spot, bean_rust, healthy | -| **Stats/Mean** | [0.485, 0.519, 0.311] | -| **Stats/Standard Deviation** | [0.182, 0.199, 0.169] | - - -## Examples - -![Example Images for bean_disease_uganda](https://github.com/Project-AgML/AgML/blob/dev/docs/sample_images/bean_disease_uganda_examples.png) \ No newline at end of file diff --git a/docs/datasets/bean_synthetic_earlygrowth_aerial.md b/docs/datasets/bean_synthetic_earlygrowth_aerial.md deleted file mode 100644 index 58f18393..00000000 --- a/docs/datasets/bean_synthetic_earlygrowth_aerial.md +++ /dev/null @@ -1,23 +0,0 @@ - -# `bean_synthetic_earlygrowth_aerial` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | leaves, branches | -| **Machine Learning Task** | semantic_segmentation | -| **Agricultural Task** | plant_segmentation | -| **Location** | Digital, Digital | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | synthetic | -| **Platform** | aerial | -| **Input Data Format** | JPG | -| **Annotation Format** | image | -| **Number of Images** | 2500 | -| **Documentation** | https://github.com/Project-AgML/AgML/blob/main/docs/datasets/bean_synthetic_earlygrowth_aerial.md | - - -## Examples - -![Example Images for bean_synthetic_earlygrowth_aerial](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/bean_synthetic_earlygrowth_aerial_examples.png) \ No newline at end of file diff --git a/docs/datasets/betel_leaf_disease_classification.md b/docs/datasets/betel_leaf_disease_classification.md deleted file mode 100644 index f5afa268..00000000 --- a/docs/datasets/betel_leaf_disease_classification.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `betel_leaf_disease_classification` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | betel_leaf_disease_classification | -| **Location** | Bangladesh, Asia | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | uav | -| **Input Data Format** | JPG | -| **Annotation Format** | directory_names | -| **Number of Images** | 3589 | -| **Documentation** | https://www.semanticscholar.org/paper/Betel-Leaf-Diseases-Classification-using-Machine-A-David-Mukunthan/38208c9d2306444e3b9f8593715a46e2dcf26f44#paper-topics | -| **Classes** | Bacterial_Leaf_Disease, Dried_Leaf, Fungal_Brown_Spot_Disease, Healthy_Leaf | -| **Stats/Mean** | [0.443, 0.52, 0.324] | -| **Stats/Standard Deviation** | [0.186, 0.197, 0.218] | - - -## Examples - -![Example Images for betel_leaf_disease_classification](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/betel_leaf_disease_classification_examples.png) \ No newline at end of file diff --git a/docs/datasets/blackgram_plant_leaf_disease_classification.md b/docs/datasets/blackgram_plant_leaf_disease_classification.md deleted file mode 100644 index 8d4ea281..00000000 --- a/docs/datasets/blackgram_plant_leaf_disease_classification.md +++ /dev/null @@ -1,23 +0,0 @@ - -# `blackgram_plant_leaf_disease_classification` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | blackgram_plant_leaf_disease_classification | -| **Location** | India, Asia | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | uav | -| **Input Data Format** | JPG | -| **Annotation Format** | directory_names | -| **Number of Images** | 1007 | -| **Documentation** | https://www.sciencedirect.com/science/article/pii/S2352340922009295 | -| **Classes** | anthracnose, healthy, leaf_crinckle, powdery_mildew, yellow_mosaic | - - -## Examples - -![Example Images for blackgram_plant_leaf_disease_classification](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/blackgram_plant_leaf_disease_classification_examples.png) \ No newline at end of file diff --git a/docs/datasets/carrot_weeds_germany.md b/docs/datasets/carrot_weeds_germany.md deleted file mode 100644 index 1615a1e4..00000000 --- a/docs/datasets/carrot_weeds_germany.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `carrot_weeds_germany` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | semantic_segmentation | -| **Agricultural Task** | weed_segmentation | -| **Location** | Germany, Europe | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | ground_mobile | -| **Input Data Format** | PNG | -| **Annotation Format** | image | -| **Number of Images** | 60 | -| **Documentation** | https://github.com/cwfid/dataset | -| **Stats/Mean** | [0.274, 0.311, 0.274] | -| **Stats/Standard Deviation** | [0.086, 0.1, 0.086] | -| **Classes** | carrot, weeds | - - -## Examples - -![Example Images for carrot_weeds_germany](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/carrot_weeds_germany_examples.png) \ No newline at end of file diff --git a/docs/datasets/chilli_leaf_classification.md b/docs/datasets/chilli_leaf_classification.md deleted file mode 100644 index 1ea13ca6..00000000 --- a/docs/datasets/chilli_leaf_classification.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `chilli_leaf_classification` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | chilli_leaf_classification | -| **Location** | India, Asia | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | uav | -| **Input Data Format** | JPG | -| **Annotation Format** | directory_names | -| **Number of Images** | 10974 | -| **Documentation** | https://www.researchgate.net/publication/380611658_Dataset_of_Chilli_and_Onion_Plant_Leaf_Images_for_Classification_and_Detection | -| **Classes** | cercospora, healthy, mites_and_trips, nutritional, powdery_mildew | -| **Stats/Mean** | [0.54, 0.562, 0.4] | -| **Stats/Standard Deviation** | [0.178, 0.177, 0.182] | - - -## Examples - -![Example Images for chilli_leaf_classification](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/chilli_leaf_classification_examples.png) \ No newline at end of file diff --git a/docs/datasets/coconut_tree_disease_classification.md b/docs/datasets/coconut_tree_disease_classification.md deleted file mode 100644 index 52462f8b..00000000 --- a/docs/datasets/coconut_tree_disease_classification.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `coconut_tree_disease_classification` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | coconut_tree_disease_classification | -| **Location** | India, Asia | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | uav | -| **Input Data Format** | JPG | -| **Annotation Format** | directory_names | -| **Number of Images** | 5798 | -| **Documentation** | https://www.sciencedirect.com/science/article/pii/S2352340923007692#sec0003 | -| **Classes** | Bud_Root_Dropping, Bud_Rot, Gray_Leaf_Spot, Leaf_Rot, Stem_Bleeding | -| **Stats/Mean** | [0.492, 0.495, 0.435] | -| **Stats/Standard Deviation** | [0.212, 0.208, 0.22] | - - -## Examples - -![Example Images for coconut_tree_disease_classification](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/coconut_tree_disease_classification_examples.png) \ No newline at end of file diff --git a/docs/datasets/corn_maize_leaf_disease.md b/docs/datasets/corn_maize_leaf_disease.md deleted file mode 100644 index f3cb8e97..00000000 --- a/docs/datasets/corn_maize_leaf_disease.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `corn_maize_leaf_disease` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | Blight, Common_Rust, Gray_Leaf_Spot, Healthy | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | disease_classification | -| **Location** | Worldwide | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | handheld | -| **Input Data Format** | jpg, png, jpeg, JPG | -| **Annotation Format** | directory_names | -| **Number of Images** | 4188 | -| **Documentation** | https://www.kaggle.com/datasets/smaranjitghose/corn-or-maize-leaf-disease-dataset/data | -| **Stats/Mean** | [0.438, 0.498, 0.376] | -| **Stats/Standard Deviation** | [0.179, 0.167, 0.174] | - - -## Examples - -![Example Images for corn_maize_leaf_disease](https://github.com/Project-AgML/AgML/blob/dev/docs/sample_images/corn_maize_leaf_disease_examples.png) \ No newline at end of file diff --git a/docs/datasets/crop_weeds_greece.md b/docs/datasets/crop_weeds_greece.md deleted file mode 100644 index f53dd3e3..00000000 --- a/docs/datasets/crop_weeds_greece.md +++ /dev/null @@ -1,24 +0,0 @@ - -# `crop_weeds_greece` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | weed_classification | -| **Location** | Greece, Europe | -| **Sensor Modality** | RGB | -| **Platform** | handheld | -| **Input Data Format** | JPG | -| **Annotation Format** | directory_names | -| **Number of Images** | 508 | -| **Documentation** | https://github.com/AUAgroup/early-crop-weed | -| **Classes** | black_nightshade, velvet_leaf, cotton, tomato | -| **Stats/Mean** | [0.725, 0.669, 0.544] | -| **Stats/Standard Deviation** | [0.164, 0.153, 0.138] | - - -## Examples - -![Example Images for crop_weeds_greece](https://github.com/Project-AgML/AgML/blob/dev/docs/sample_images/crop_weeds_greece_examples.png) \ No newline at end of file diff --git a/docs/datasets/cucumber_disease_classification.md b/docs/datasets/cucumber_disease_classification.md deleted file mode 100644 index a982b398..00000000 --- a/docs/datasets/cucumber_disease_classification.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `cucumber_disease_classification` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | cucumber_disease_classification | -| **Location** | Bangladesh, Asia | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | uav | -| **Input Data Format** | JPG | -| **Annotation Format** | directory_names | -| **Number of Images** | 7689 | -| **Documentation** | https://www.sciencedirect.com/science/article/pii/S2352340923004389 | -| **Classes** | Anthracnose, Bacterial_Wilt, Belly_Rot, Downy_Mildew, Fresh_Cucumber, Fresh_Leaf, Gummy_Stem_Blight, Pythium_Fruit_Rot | -| **Stats/Mean** | [0.466, 0.527, 0.398] | -| **Stats/Standard Deviation** | [0.192, 0.184, 0.179] | - - -## Examples - -![Example Images for cucumber_disease_classification](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/cucumber_disease_classification_examples.png) \ No newline at end of file diff --git a/docs/datasets/embrapa_wgisd_grape_detection.md b/docs/datasets/embrapa_wgisd_grape_detection.md deleted file mode 100644 index 183fb304..00000000 --- a/docs/datasets/embrapa_wgisd_grape_detection.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `embrapa_wgisd_grape_detection` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | Chardonnay, PinotGris, PinotNoir | -| **Machine Learning Task** | object_detection | -| **Agricultural Task** | grape_bunch_detection | -| **Location** | Worldwide | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | handheld/ground | -| **Input Data Format** | JPG | -| **Annotation Format** | coco_json | -| **Number of Images** | 239 | -| **Documentation** | https://github.com/thsant/wgisd/tree/master | -| **Stats/Mean** | [0.502, 0.536, 0.43] | -| **Stats/Standard Deviation** | [0.235, 0.212, 0.222] | - - -## Examples - -![Example Images for embrapa_wgisd_grape_detection](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/embrapa_wgisd_grape_detection_examples.png) \ No newline at end of file diff --git a/docs/datasets/fruit_detection_worldwide.md b/docs/datasets/fruit_detection_worldwide.md deleted file mode 100644 index 218d5ecf..00000000 --- a/docs/datasets/fruit_detection_worldwide.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `fruit_detection_worldwide` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | object_detection | -| **Agricultural Task** | fruit_detection | -| **Location** | Worldwide | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | mixed | -| **Input Data Format** | JPG | -| **Annotation Format** | coco_json | -| **Number of Images** | 565 | -| **Documentation** | https://drive.google.com/drive/folders/1CmsZb1caggLRN7ANfika8WuPiywo4mBb | -| **Stats/Mean** | [0.378, 0.409, 0.287] | -| **Stats/Standard Deviation** | [0.231, 0.225, 0.218] | -| **Classes** | avocado, rockmelon, apple, orange, strawberry, mango, capsicum | - - -## Examples - -![Example Images for fruit_detection_worldwide](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/fruit_detection_worldwide_examples.png) \ No newline at end of file diff --git a/docs/datasets/gemini_flower_detection_2022.md b/docs/datasets/gemini_flower_detection_2022.md deleted file mode 100644 index 89ccc348..00000000 --- a/docs/datasets/gemini_flower_detection_2022.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `gemini_flower_detection_2022` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | object | -| **Machine Learning Task** | object_detection | -| **Agricultural Task** | flower_detection | -| **Location** | United States, North America | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | ground | -| **Annotation Format** | coco_json | -| **Input Data Format** | JPG | -| **Number of Images** | 134 | -| **Documentation** | http://gemini-breeding.github.io/ | -| **Stats/Mean** | [0.432, 0.462, 0.307] | -| **Stats/Standard Deviation** | [0.158, 0.152, 0.145] | - - -## Examples - -![Example Images for gemini_flower_detection_2022](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/gemini_flower_detection_2022_examples.png) \ No newline at end of file diff --git a/docs/datasets/gemini_leaf_detection_2022.md b/docs/datasets/gemini_leaf_detection_2022.md deleted file mode 100644 index d4e40aa8..00000000 --- a/docs/datasets/gemini_leaf_detection_2022.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `gemini_leaf_detection_2022` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | object | -| **Machine Learning Task** | object_detection | -| **Agricultural Task** | leaf_detection | -| **Location** | United States, North America | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | ground | -| **Annotation Format** | coco_json | -| **Input Data Format** | JPG | -| **Number of Images** | 25 | -| **Documentation** | http://gemini-breeding.github.io/ | -| **Stats/Mean** | [0.515, 0.481, 0.417] | -| **Stats/Standard Deviation** | [0.175, 0.153, 0.132] | - - -## Examples - -![Example Images for gemini_leaf_detection_2022](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/gemini_leaf_detection_2022_examples.png) \ No newline at end of file diff --git a/docs/datasets/gemini_plant_detection_2022.md b/docs/datasets/gemini_plant_detection_2022.md deleted file mode 100644 index 5eeff2ae..00000000 --- a/docs/datasets/gemini_plant_detection_2022.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `gemini_plant_detection_2022` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | plant, weed | -| **Machine Learning Task** | object_detection | -| **Agricultural Task** | plant_detection | -| **Location** | United States, North America | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | ground | -| **Annotation Format** | coco_json | -| **Input Data Format** | JPG | -| **Number of Images** | 402 | -| **Documentation** | http://gemini-breeding.github.io/ | -| **Stats/Mean** | [0.514, 0.48, 0.416] | -| **Stats/Standard Deviation** | [0.174, 0.152, 0.13] | - - -## Examples - -![Example Images for gemini_plant_detection_2022](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/gemini_plant_detection_2022_examples.png) \ No newline at end of file diff --git a/docs/datasets/gemini_pod_detection_2022.md b/docs/datasets/gemini_pod_detection_2022.md deleted file mode 100644 index 9fdd1f93..00000000 --- a/docs/datasets/gemini_pod_detection_2022.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `gemini_pod_detection_2022` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | object | -| **Machine Learning Task** | object_detection | -| **Agricultural Task** | pod_detection | -| **Location** | United States, North America | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | ground | -| **Annotation Format** | coco_json | -| **Input Data Format** | JPG | -| **Number of Images** | 98 | -| **Documentation** | http://gemini-breeding.github.io/ | -| **Stats/Mean** | [0.416, 0.473, 0.285] | -| **Stats/Standard Deviation** | [0.166, 0.161, 0.165] | - - -## Examples - -![Example Images for gemini_pod_detection_2022](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/gemini_pod_detection_2022_examples.png) \ No newline at end of file diff --git a/docs/datasets/ghai_broccoli_detection.md b/docs/datasets/ghai_broccoli_detection.md deleted file mode 100644 index 2b67184b..00000000 --- a/docs/datasets/ghai_broccoli_detection.md +++ /dev/null @@ -1,23 +0,0 @@ - -# `ghai_broccoli_detection` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | canopy, crown | -| **Machine Learning Task** | object_detection | -| **Agricultural Task** | crop_detection | -| **Location** | United States, North America | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | handheld/ground | -| **Input Data Format** | JPG | -| **Annotation Format** | coco_json | -| **Number of Images** | 500 | -| **Documentation** | https://github.com/AxisAg/GHAIDatasets/blob/main/datasets/broccoli.md | - - -## Examples - -![Example Images for ghai_broccoli_detection](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/ghai_broccoli_detection_examples.png) \ No newline at end of file diff --git a/docs/datasets/ghai_green_cabbage_detection.md b/docs/datasets/ghai_green_cabbage_detection.md deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/datasets/ghai_iceberg_lettuce_detection.md b/docs/datasets/ghai_iceberg_lettuce_detection.md deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/datasets/ghai_romaine_detection.md b/docs/datasets/ghai_romaine_detection.md deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/datasets/ghai_strawberry_fruit_detection.md b/docs/datasets/ghai_strawberry_fruit_detection.md deleted file mode 100644 index a9cfcae0..00000000 --- a/docs/datasets/ghai_strawberry_fruit_detection.md +++ /dev/null @@ -1,23 +0,0 @@ - -# `ghai_strawberry_fruit_detection` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | Bud, Calyx, Detached Fruit, Flower, Large green, Leaf, Ripe fruit, Small Green, Stem, Unripe fruit | -| **Machine Learning Task** | object_detection | -| **Agricultural Task** | crop_detection | -| **Location** | United States, North America | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | handheld/ground | -| **Input Data Format** | JPG | -| **Annotation Format** | coco_json | -| **Number of Images** | 500 | -| **Documentation** | https://github.com/AxisAg/GHAIDatasets/blob/main/datasets/strawberry.md | - - -## Examples - -![Example Images for ghai_strawberry_fruit_detection](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/ghai_strawberry_fruit_detection_examples.png) \ No newline at end of file diff --git a/docs/datasets/grape_detection_californiaday.md b/docs/datasets/grape_detection_californiaday.md deleted file mode 100644 index 28cfc077..00000000 --- a/docs/datasets/grape_detection_californiaday.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `grape_detection_californiaday` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | grape | -| **Machine Learning Task** | object_detection | -| **Agricultural Task** | fruit_detection | -| **Location** | United States, North America | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | ground | -| **Input Data Format** | JPG | -| **Annotation Format** | image | -| **Number of Images** | 126 | -| **Documentation** | None | -| **Stats/Mean** | [0.446, 0.464, 0.275] | -| **Stats/Standard Deviation** | [0.268, 0.259, 0.263] | - - -## Examples - -![Example Images for grape_detection_californiaday](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/grape_detection_californiaday_examples.png) \ No newline at end of file diff --git a/docs/datasets/grape_detection_californianight.md b/docs/datasets/grape_detection_californianight.md deleted file mode 100644 index d4dc8e7f..00000000 --- a/docs/datasets/grape_detection_californianight.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `grape_detection_californianight` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | grape | -| **Machine Learning Task** | object_detection | -| **Agricultural Task** | fruit_detection | -| **Location** | United States, North America | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | ground | -| **Input Data Format** | JPG | -| **Annotation Format** | image | -| **Number of Images** | 150 | -| **Documentation** | None | -| **Stats/Mean** | [0.222, 0.213, 0.225] | -| **Stats/Standard Deviation** | [0.205, 0.201, 0.206] | - - -## Examples - -![Example Images for grape_detection_californianight](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/grape_detection_californianight_examples.png) \ No newline at end of file diff --git a/docs/datasets/grape_detection_syntheticday.md b/docs/datasets/grape_detection_syntheticday.md deleted file mode 100644 index ced34ae4..00000000 --- a/docs/datasets/grape_detection_syntheticday.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `grape_detection_syntheticday` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | grape | -| **Machine Learning Task** | object_detection | -| **Agricultural Task** | fruit_detection | -| **Location** | United States, North America | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | synthetic | -| **Platform** | ground | -| **Input Data Format** | JPG | -| **Annotation Format** | coco_json | -| **Number of Images** | 448 | -| **Documentation** | N/A | -| **Stats/Mean** | [0.25, 0.276, 0.207] | -| **Stats/Standard Deviation** | [0.151, 0.186, 0.224] | - - -## Examples - -![Example Images for grape_detection_syntheticday](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/grape_detection_syntheticday_examples.png) \ No newline at end of file diff --git a/docs/datasets/growliflower_cauliflower_segmentation.md b/docs/datasets/growliflower_cauliflower_segmentation.md deleted file mode 100644 index 290a82e5..00000000 --- a/docs/datasets/growliflower_cauliflower_segmentation.md +++ /dev/null @@ -1,23 +0,0 @@ - -# `growliflower_cauliflower_segmentation` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | maskLeaves, maskPlants, maskStems, maskVoid | -| **Machine Learning Task** | semantic_segmentation | -| **Agricultural Task** | crop_segmentation | -| **Location** | Worldwide | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | handheld/ground | -| **Input Data Format** | JPG | -| **Annotation Format** | image | -| **Number of Images** | 1542 | -| **Documentation** | https://phenoroam.phenorob.de/geonetwork/srv/eng/catalog.search#/metadata/cb328232-31f5-4b84-a929-8e1ee551d66a | - - -## Examples - -![Example Images for growliflower_cauliflower_segmentation](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/growliflower_cauliflower_segmentation_examples.png) \ No newline at end of file diff --git a/docs/datasets/guava_disease_pakistan.md b/docs/datasets/guava_disease_pakistan.md deleted file mode 100644 index b95f467e..00000000 --- a/docs/datasets/guava_disease_pakistan.md +++ /dev/null @@ -1,24 +0,0 @@ - -# `guava_disease_pakistan` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | Canker, Dot, Mummification, Rust | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | disease_classification | -| **Location** | Pakistan, Asia | -| **Sensor Modality** | RGB | -| **Platform** | ground | -| **Input Data Format** | JPG | -| **Annotation Format** | directory_names | -| **Number of Images** | 306 | -| **Documentation** | https://data.mendeley.com/datasets/s8x6jn5cvr/1 | -| **Stats/Mean** | [0.446, 0.451, 0.323] | -| **Stats/Standard Deviation** | [0.187, 0.184, 0.187] | - - -## Examples - -![Example Images for guava_disease_pakistan](https://github.com/Project-AgML/AgML/blob/dev/docs/sample_images/guava_disease_pakistan_examples.png) \ No newline at end of file diff --git a/docs/datasets/iNatAg-mini.md b/docs/datasets/iNatAg-mini.md deleted file mode 100644 index 96537bf7..00000000 --- a/docs/datasets/iNatAg-mini.md +++ /dev/null @@ -1,26 +0,0 @@ -## Overview - -iNatAg-mini is a large-scale dataset derived from the iNaturalist dataset, designed for species classification and crop/weed classification in agricultural and ecological applications. - -It consists of 2,959 species with a breakdown of 1,986 crop species and 973 weed species.The dataset contains a total of 560,844 images, making it one of the largest and most diverse datasets available for plant species identification and classification. - -## List iNatAg-mini datasets - -```python -from pprint import pprint -import agml - -print(agml.data.public_data_sources(parent_dataset='iNatAg-mini')) -``` - -## Loading iNatAg-mini dataset - -You can start off by using the `AgMLDataLoader` to download and load an iNatAg-mini dataset into a container: - -```python -loader = agml.data.AgMLDataLoader('iNatAg-mini/sorghum_bicolor') -loader.info.summary() -``` - -## Examples -![Example Images for iNatAg-mini](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/iNatAg_sample_images.png) \ No newline at end of file diff --git a/docs/datasets/iNatAg.md b/docs/datasets/iNatAg.md deleted file mode 100644 index 7cbdcbd0..00000000 --- a/docs/datasets/iNatAg.md +++ /dev/null @@ -1,24 +0,0 @@ -## Overview - -iNatAg is a large-scale dataset derived from the iNaturalist dataset, designed for species classification and crop/weed classification in agricultural and ecological applications. It consists of 2,959 species with a breakdown of 1,986 crop species and 973 weed species.The dataset contains a total of 4,720,903 images, making it one of the largest and most diverse datasets available for plant species identification and classification. - -## List iNatAg datasets - -```python -from pprint import pprint -import agml - -print(agml.data.public_data_sources(parent_dataset='iNatAg')) -``` - -## Loading iNatAg dataset - -You can start off by using the `AgMLDataLoader` to download and load an iNatAg dataset into a container: - -```python -loader = agml.data.AgMLDataLoader('iNatAg/sorghum_bicolor') -loader.info.summary() -``` - -## Examples -![Example Images for iNatAg](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/iNatAg_sample_images.png) diff --git a/docs/datasets/java_plum_leaf_disease_classification.md b/docs/datasets/java_plum_leaf_disease_classification.md deleted file mode 100644 index 2d63b6b2..00000000 --- a/docs/datasets/java_plum_leaf_disease_classification.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `java_plum_leaf_disease_classification` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | java_plum_leaf_disease_classification | -| **Location** | Bangladesh, Asia | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | uav | -| **Input Data Format** | JPG | -| **Annotation Format** | directory_names | -| **Number of Images** | 2400 | -| **Documentation** | https://www.sciencedirect.com/science/article/pii/S2772375524001059#sec0003 | -| **Classes** | Bacterial_Spot, Brown_Blight, Dry, Healthy, Powdery_Mildew, Sooty_Mold | -| **Stats/Mean** | [0.689, 0.706, 0.65] | -| **Stats/Standard Deviation** | [0.219, 0.208, 0.302] | - - -## Examples - -![Example Images for java_plum_leaf_disease_classification](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/java_plum_leaf_disease_classification_examples.png) \ No newline at end of file diff --git a/docs/datasets/leaf_counting_denmark.md b/docs/datasets/leaf_counting_denmark.md deleted file mode 100644 index 1a3ba20d..00000000 --- a/docs/datasets/leaf_counting_denmark.md +++ /dev/null @@ -1,23 +0,0 @@ - -# `leaf_counting_denmark` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | leaf_counting | -| **Location** | Denmark, Europe | -| **Platform** | mixed | -| **Input Data Format** | PNG | -| **Annotation Format** | directory_names | -| **Number of Images** | 9372 | -| **Documentation** | https://vision.eng.au.dk/leaf-counting-dataset/ | -| **Classes** | 1, 2, 3, 4, 5, 6, 7, 8, 9+ | -| **Stats/Mean** | [0.427, 0.427, 0.342] | -| **Stats/Standard Deviation** | [0.123, 0.143, 0.115] | - - -## Examples - -![Example Images for leaf_counting_denmark](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/leaf_counting_denmark_examples.png) \ No newline at end of file diff --git a/docs/datasets/mango_detection_australia.md b/docs/datasets/mango_detection_australia.md deleted file mode 100644 index 891df0d1..00000000 --- a/docs/datasets/mango_detection_australia.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `mango_detection_australia` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | object_detection | -| **Agricultural Task** | fruit_detection | -| **Location** | Australia, Oceania | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | handheld | -| **Input Data Format** | JPG | -| **Annotation Format** | coco_json | -| **Number of Images** | 1730 | -| **Documentation** | https://researchdata.edu.au/mangoyolo-set/1697505 | -| **Stats/Mean** | [0.073, 0.119, 0.05] | -| **Stats/Standard Deviation** | [0.059, 0.079, 0.043] | -| **Classes** | mango | - - -## Examples - -![Example Images for mango_detection_australia](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/mango_detection_australia_examples.png) \ No newline at end of file diff --git a/docs/datasets/mango_leaf_disease_classification.md b/docs/datasets/mango_leaf_disease_classification.md deleted file mode 100644 index 0ae67cbd..00000000 --- a/docs/datasets/mango_leaf_disease_classification.md +++ /dev/null @@ -1,24 +0,0 @@ - -# `mango_leaf_disease_classification` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | disease_classification | -| **Location** | Bangladesh, Asia | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | handheld | -| **Input Data Format** | JPG | -| **Annotation Format** | directory_names | -| **Number of Images** | 4000 | -| **Documentation** | https://data.mendeley.com/datasets/hxsnvwty3r/1 | -| **Stats/Mean** | [0.665, 0.690, 0.689] | -| **Stats/Standard Deviation** | [0.197, 0.186, 0.257] | -| **Classes** | Anthracnose, Bacterial_Canker, Cutting_Weevil, Die_Back, Gall_Midge, Healthy, Powdery_Mildew, Sooty_Mold | - -## Examples - -![Example Images for mango_leaf_disease_classification](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/mango_leaf_disease_classification_examples.png) \ No newline at end of file diff --git a/docs/datasets/onion_leaf_classification.md b/docs/datasets/onion_leaf_classification.md deleted file mode 100644 index fca1b40d..00000000 --- a/docs/datasets/onion_leaf_classification.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `onion_leaf_classification` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | onion_leaf_classification | -| **Location** | India, Asia | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | uav | -| **Input Data Format** | JPG | -| **Annotation Format** | directory_names | -| **Number of Images** | 4502 | -| **Documentation** | https://www.researchgate.net/publication/380611658_Dataset_of_Chilli_and_Onion_Plant_Leaf_Images_for_Classification_and_Detection | -| **Classes** | healthy, iris_yellow_virus, leaf_blight, purple_blotch | -| **Stats/Mean** | [0.493, 0.506, 0.335] | -| **Stats/Standard Deviation** | [0.186, 0.146, 0.157] | - - -## Examples - -![Example Images for onion_leaf_classification](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/onion_leaf_classification_examples.png) \ No newline at end of file diff --git a/docs/datasets/orange_leaf_disease_classification.md b/docs/datasets/orange_leaf_disease_classification.md deleted file mode 100644 index 35bb96b9..00000000 --- a/docs/datasets/orange_leaf_disease_classification.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `orange_leaf_disease_classification` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | orange_leaf_disease_classification | -| **Location** | Bangladesh, Asia | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | uav | -| **Input Data Format** | JPEG | -| **Annotation Format** | directory_names | -| **Number of Images** | 5813 | -| **Documentation** | https://www.sciencedirect.com/science/article/pii/S2352340924006802#sec0004 | -| **Classes** | citrus_canker, citrus_greening, citrus_mealybugs, die_back, foliage_damaged, healthy_leaf, powdery_mildew, shot_hole, spiny_whitefly, yellow_dragon, yellow_leaves | -| **Stats/Mean** | [0.642, 0.645, 0.541] | -| **Stats/Standard Deviation** | [0.215, 0.196, 0.265] | - - -## Examples - -![Example Images for orange_leaf_disease_classification](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/orange_leaf_disease_classification_examples.png) \ No newline at end of file diff --git a/docs/datasets/paddy_disease_classification.md b/docs/datasets/paddy_disease_classification.md deleted file mode 100644 index 46f66b5a..00000000 --- a/docs/datasets/paddy_disease_classification.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `paddy_disease_classification` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | paddy_disease_classification | -| **Location** | India, Asia | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | uav | -| **Input Data Format** | JPG | -| **Annotation Format** | directory_names | -| **Number of Images** | 10407 | -| **Documentation** | https://www.kaggle.com/competitions/paddy-disease-classification/data | -| **Classes** | bacterial_leaf_blight, bacterial_leaf_streak, bacterial_panicle_blight, blast, brown_spot, dead_heart, downy_mildew, hispa, normal, tungro | -| **Stats/Mean** | [0.497, 0.588, 0.23] | -| **Stats/Standard Deviation** | [0.233, 0.233, 0.19] | - - -## Examples - -![Example Images for paddy_disease_classification](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/paddy_disease_classification_examples.png) \ No newline at end of file diff --git a/docs/datasets/papaya_leaf_disease_classification.md b/docs/datasets/papaya_leaf_disease_classification.md deleted file mode 100644 index 845c0869..00000000 --- a/docs/datasets/papaya_leaf_disease_classification.md +++ /dev/null @@ -1,23 +0,0 @@ - -# `papaya_leaf_disease_classification` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | papaya_leaf_disease_classification | -| **Location** | Bangladesh, Asia | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | uav | -| **Input Data Format** | JPG | -| **Annotation Format** | directory_names | -| **Number of Images** | 2159 | -| **Documentation** | https://www.sciencedirect.com/science/article/pii/S2352340924008734 | -| **Classes** | Anthracnose, BacterialSpot, Curl, Healthy, RingSpot | - - -## Examples - -![Example Images for papaya_leaf_disease_classification](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/papaya_leaf_disease_classification_examples.png) \ No newline at end of file diff --git a/docs/datasets/peachpear_flower_segmentation.md b/docs/datasets/peachpear_flower_segmentation.md deleted file mode 100644 index 161120c3..00000000 --- a/docs/datasets/peachpear_flower_segmentation.md +++ /dev/null @@ -1,20 +0,0 @@ - -# `peachpear_flower_segmentation` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | Flower | -| **Machine Learning Task** | semantic_segmentation | -| **Agricultural Task** | flower_segmentation | -| **Location** | Worldwide | -| **Number of Images** | 42 | -| **Documentation** | https://data.nal.usda.gov/dataset/data-multi-species-fruit-flower-detection-using-refined-semantic-segmentation-network | -| **Stats/Mean** | [0.438, 0.435, 0.415] | -| **Stats/Standard Deviation** | [0.208, 0.214, 0.244] | - - -## Examples - -![Example Images for peachpear_flower_segmentation](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/peachpear_flower_segmentation_examples.png) \ No newline at end of file diff --git a/docs/datasets/plant_doc_classification.md b/docs/datasets/plant_doc_classification.md deleted file mode 100644 index a0490d43..00000000 --- a/docs/datasets/plant_doc_classification.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `plant_doc_classification` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | Corn leaf blight, Tomato Early blight leaf, Potato leaf early blight, Potato leaf late blight, Blueberry leaf, grape leaf black rot, Bell_pepper leaf spot, Cherry leaf, Peach leaf, Soyabean leaf, Strawberry leaf, Apple Scab Leaf, Corn rust leaf, Apple leaf, Corn Gray leaf spot, Tomato leaf mosaic virus, Tomato mold leaf, Tomato leaf yellow virus, Tomato leaf bacterial spot, Tomato leaf late blight, Squash Powdery mildew leaf, Bell_pepper leaf, grape leaf, Apple rust leaf, Tomato Septoria leaf spot, Tomato leaf, Raspberry leaf, Tomato two spotted spider mites leaf | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | disease_classification | -| **Location** | Worldwide | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | ground | -| **Input Data Format** | JPG | -| **Annotation Format** | directory_names | -| **Number of Images** | 2598 | -| **Documentation** | https://github.com/pratikkayal/PlantDoc-Dataset | -| **Stats/Mean** | [0.482, 0.55, 0.383] | -| **Stats/Standard Deviation** | [0.212, 0.204, 0.221] | - - -## Examples - -![Example Images for plant_doc_classification](https://github.com/Project-AgML/AgML/blob/dev/docs/sample_images/plant_doc_classification_examples.png) \ No newline at end of file diff --git a/docs/datasets/plant_doc_detection.md b/docs/datasets/plant_doc_detection.md deleted file mode 100644 index b2b50390..00000000 --- a/docs/datasets/plant_doc_detection.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `plant_doc_detection` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | Corn leaf blight, Tomato Early blight leaf, Potato leaf early blight, Potato leaf late blight, Blueberry leaf, grape leaf black rot, Bell_pepper leaf spot, Cherry leaf, Peach leaf, Soyabean leaf, Strawberry leaf, Apple Scab Leaf, Corn rust leaf, Apple leaf, Corn Gray leaf spot, Tomato leaf mosaic virus, Tomato mold leaf, Tomato leaf yellow virus, Tomato leaf bacterial spot, Tomato leaf late blight, Squash Powdery mildew leaf, Bell_pepper leaf, grape leaf, Apple rust leaf, Tomato Septoria leaf spot, Tomato leaf, Raspberry leaf, Potato leaf, Tomato two spotted spider mites leaf | -| **Machine Learning Task** | object_detection | -| **Agricultural Task** | disease_classification | -| **Location** | Worldwide | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | ground | -| **Input Data Format** | JPG | -| **Annotation Format** | coco_json | -| **Number of Images** | 2346 | -| **Documentation** | https://github.com/pratikkayal/PlantDoc-Object-Detection-Dataset | -| **Stats/Mean** | [0.477, 0.544, 0.378] | -| **Stats/Standard Deviation** | [0.211, 0.204, 0.218] | - - -## Examples - -![Example Images for plant_doc_detection](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/plant_doc_detection_examples.png) \ No newline at end of file diff --git a/docs/datasets/plant_seedlings_aarhus.md b/docs/datasets/plant_seedlings_aarhus.md deleted file mode 100644 index 3202fd24..00000000 --- a/docs/datasets/plant_seedlings_aarhus.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `plant_seedlings_aarhus` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | weed_classification | -| **Location** | Denmark, Europe | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | ground_fixed | -| **Input Data Format** | PNG | -| **Annotation Format** | directory_names | -| **Number of Images** | 5539 | -| **Documentation** | https://vision.eng.au.dk/plant-seedlings-dataset/ | -| **Classes** | maize, common_wheat, sugar_beet, scentless_mayweed, common_chickweed, shepherds_purse, cleavers, charlock, fat_hen, smallflowered_cranesbill, black_grass, loose_silkybent | -| **Stats/Mean** | [0.329, 0.289, 0.207] | -| **Stats/Standard Deviation** | [0.093, 0.096, 0.106] | - - -## Examples - -![Example Images for plant_seedlings_aarhus](https://github.com/Project-AgML/AgML/blob/dev/docs/sample_images/plant_seedlings_aarhus_examples.png) \ No newline at end of file diff --git a/docs/datasets/plant_village_classification.md b/docs/datasets/plant_village_classification.md deleted file mode 100644 index ee2ec757..00000000 --- a/docs/datasets/plant_village_classification.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `plant_village_classification` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | disease_classification | -| **Location** | United States, North America | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | ground | -| **Input Data Format** | JPG | -| **Annotation Format** | directory_names | -| **Number of Images** | 55448 | -| **Documentation** | https://github.com/spMohanty/PlantVillage-Dataset | -| **Classes** | Apple___Apple_scab, Apple___Black_rot, Apple___Cedar_apple_rust, Apple___healthy, Background_without_leaves, Blueberry___healthy, Cherry___Powdery_mildew, Cherry___healthy, Corn___Cercospora_leaf_spot Gray_leaf_spot, Corn___Common_rust, Corn___Northern_Leaf_Blight, Corn___healthy, Grape___Black_rot, Grape___Esca_(Black_Measles), Grape___Leaf_blight_(Isariopsis_Leaf_Spot), Grape___healthy, Orange___Haunglongbing_(Citrus_greening), Peach___Bacterial_spot, Peach___healthy, Pepper,_bell___Bacterial_spot, Pepper,_bell___healthy, Potato___Early_blight, Potato___Late_blight, Potato___healthy, Raspberry___healthy, Soybean___healthy, Squash___Powdery_mildew, Strawberry___Leaf_scorch, Strawberry___healthy, Tomato___Bacterial_spot, Tomato___Early_blight, Tomato___Late_blight, Tomato___Leaf_Mold, Tomato___Septoria_leaf_spot, Tomato___Spider_mites Two-spotted_spider_mite, Tomato___Target_Spot, Tomato___Tomato_Yellow_Leaf_Curl_Virus, Tomato___Tomato_mosaic_virus, Tomato___healthy | -| **Stats/Mean** | [0.467, 0.489, 0.412] | -| **Stats/Standard Deviation** | [0.177, 0.152, 0.194] | - - -## Examples - -![Example Images for plant_village_classification](https://github.com/Project-AgML/AgML/blob/dev/docs/sample_images/plant_village_classification_examples.png) \ No newline at end of file diff --git a/docs/datasets/rangeland_weeds_australia.md b/docs/datasets/rangeland_weeds_australia.md deleted file mode 100644 index 108f4cdb..00000000 --- a/docs/datasets/rangeland_weeds_australia.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `rangeland_weeds_australia` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | weed_classification | -| **Location** | Australia, Oceania | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | ground | -| **Input Data Format** | JPG | -| **Annotation Format** | directory_names | -| **Number of Images** | 17509 | -| **Documentation** | https://github.com/AlexOlsen/DeepWeeds | -| **Classes** | chinee_apple, lantana, negative, parkinsonia, parthenium, prickly_acacia, rubber_vine, siam_weed, snake_weed | -| **Stats/Mean** | [0.379, 0.39, 0.38] | -| **Stats/Standard Deviation** | [0.224, 0.225, 0.223] | - - -## Examples - -![Example Images for rangeland_weeds_australia](https://github.com/Project-AgML/AgML/blob/dev/docs/sample_images/rangeland_weeds_australia_examples.png) \ No newline at end of file diff --git a/docs/datasets/red_grapes_and_leaves_segmentation.md b/docs/datasets/red_grapes_and_leaves_segmentation.md deleted file mode 100644 index 1214e102..00000000 --- a/docs/datasets/red_grapes_and_leaves_segmentation.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `red_grapes_and_leaves_segmentation` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | Leaf, Grape | -| **Machine Learning Task** | semantic_segmentation | -| **Agricultural Task** | vineyard_scene_segmentation | -| **Location** | Greece, Europe | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | handheld/ground | -| **Input Data Format** | JPG | -| **Annotation Format** | image | -| **Number of Images** | 258 | -| **Documentation** | https://link.springer.com/chapter/10.1007/978-3-030-48791-1_22 | -| **Stats/Mean** | [0.392, 0.493, 0.525] | -| **Stats/Standard Deviation** | [0.272, 0.287, 0.283] | - - -## Examples - -![Example Images for red_grapes_and_leaves_segmentation](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/red_grapes_and_leaves_segmentation_examples.png) \ No newline at end of file diff --git a/docs/datasets/rice_leaf_disease_classification.md b/docs/datasets/rice_leaf_disease_classification.md deleted file mode 100644 index 5e5e9e56..00000000 --- a/docs/datasets/rice_leaf_disease_classification.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `rice_leaf_disease_classification` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | rice_leaf_disease_classification | -| **Location** | Worldwide | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | uav | -| **Input Data Format** | JPG | -| **Annotation Format** | directory_names | -| **Number of Images** | 3829 | -| **Documentation** | https://www.kaggle.com/datasets/anshulm257/rice-disease-dataset/data | -| **Classes** | Bacterial_Leaf_Blight, Brown_Spot, Healthy_Rice_Leaf, Leaf_Blast, Leaf_Scald, Sheath_Blight | -| **Stats/Mean** | [0.38, 0.511, 0.245] | -| **Stats/Standard Deviation** | [0.186, 0.175, 0.135] | - - -## Examples - -![Example Images for rice_leaf_disease_classification](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/rice_leaf_disease_classification_examples.png) \ No newline at end of file diff --git a/docs/datasets/rice_seedling_segmentation.md b/docs/datasets/rice_seedling_segmentation.md deleted file mode 100644 index b0a65759..00000000 --- a/docs/datasets/rice_seedling_segmentation.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `rice_seedling_segmentation` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | semantic_segmentation | -| **Agricultural Task** | weed_segmentation | -| **Location** | China, Asia | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | handheld | -| **Input Data Format** | JPG | -| **Annotation Format** | image | -| **Number of Images** | 224 | -| **Documentation** | https://github.com/kabbas570/CED-Net-Crops-and-Weeds-Segmentation-for-Smart-Farming-Using-a-Small-Cascaded-Encoder-Decoder-Archi | -| **Stats/Mean** | [0.655, 0.701, 0.635] | -| **Stats/Standard Deviation** | [0.085, 0.108, 0.111] | -| **Classes** | Rice, Weed | - - -## Examples - -![Example Images for rice_seedling_segmentation](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/rice_seedling_segmentation_examples.png) \ No newline at end of file diff --git a/docs/datasets/riseholme_strawberry_classification_2021.md b/docs/datasets/riseholme_strawberry_classification_2021.md deleted file mode 100644 index 21b82fac..00000000 --- a/docs/datasets/riseholme_strawberry_classification_2021.md +++ /dev/null @@ -1,24 +0,0 @@ - -# `riseholme_strawberry_classification_2021` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | anomalous, occluded, ripe, unripe | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | disease_classification | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | ground | -| **Input Data Format** | PNG | -| **Annotation Format** | directory_names | -| **Number of Images** | 3520 | -| **Documentation** | https://github.com/ctyeong/Riseholme-2021 | -| **Stats/Mean** | [0.575, 0.464, 0.364] | -| **Stats/Standard Deviation** | [0.198, 0.192, 0.177] | - - -## Examples - -![Example Images for riseholme_strawberry_classification_2021](https://github.com/Project-AgML/AgML/blob/dev/docs/sample_images/riseholme_strawberry_classification_2021_examples.png) \ No newline at end of file diff --git a/docs/datasets/soybean_insect_classification.md b/docs/datasets/soybean_insect_classification.md deleted file mode 100644 index 5d958427..00000000 --- a/docs/datasets/soybean_insect_classification.md +++ /dev/null @@ -1,27 +0,0 @@ - -# `soybean_insect_classification` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | pest_classification | -| **Location** | Brazil, South America | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | uav | -| **Input Data Format** | JPG | -| **Annotation Format** | directory_names | -| **Number of Images** | 6410 | -| **Documentation** | https://data.mendeley.com/datasets/bycbh73438/1 | -| **Classes** | Caterpillar, Diabrotica_speciosa, Healthy | -| **Parent Dataset** | None | -| **Extra Metadata** | {} | -| **Stats/Mean** | [0.413, 0.516, 0.335] | -| **Stats/Standard Deviation** | [0.22, 0.23, 0.203] | - - -## Examples - -![Example Images for soybean_insect_classification](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/soybean_insect_classification_examples.png) \ No newline at end of file diff --git a/docs/datasets/soybean_weed_uav_brazil.md b/docs/datasets/soybean_weed_uav_brazil.md deleted file mode 100644 index b573deb3..00000000 --- a/docs/datasets/soybean_weed_uav_brazil.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `soybean_weed_uav_brazil` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | weed_classification | -| **Location** | Brazil, South America | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | uav | -| **Input Data Format** | tif | -| **Annotation Format** | directory_names | -| **Number of Images** | 15336 | -| **Documentation** | https://data.mendeley.com/datasets/3fmjm7ncc6/2 | -| **Classes** | broadleaf, grass, soil, soybean | -| **Stats/Mean** | [0.329, 0.334, 0.187] | -| **Stats/Standard Deviation** | [0.245, 0.249, 0.157] | - - -## Examples - -![Example Images for soybean_weed_uav_brazil](https://github.com/Project-AgML/AgML/blob/dev/docs/sample_images/soybean_weed_uav_brazil_examples.png) \ No newline at end of file diff --git a/docs/datasets/strawberry_detection_2022.md b/docs/datasets/strawberry_detection_2022.md deleted file mode 100644 index 16825fd3..00000000 --- a/docs/datasets/strawberry_detection_2022.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `strawberry_detection_2022` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | strawberry, flower, green, large_white, pink, red, small_white | -| **Machine Learning Task** | object_detection | -| **Agricultural Task** | strawberry_detection | -| **Location** | Worldwide | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | handheld/ground | -| **Annotation Format** | coco_json | -| **Input Data Format** | JPG | -| **Number of Images** | 175 | -| **Documentation** | None | -| **Stats/Mean** | [0.288, 0.306, 0.299] | -| **Stats/Standard Deviation** | [0.21, 0.199, 0.205] | - - -## Examples - -![Example Images for strawberry_detection_2022](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/strawberry_detection_2022_examples.png) \ No newline at end of file diff --git a/docs/datasets/strawberry_detection_2023.md b/docs/datasets/strawberry_detection_2023.md deleted file mode 100644 index 32cdaef1..00000000 --- a/docs/datasets/strawberry_detection_2023.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `strawberry_detection_2023` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | strawberry, flower, green, large_white, pink, red, small_white | -| **Machine Learning Task** | object_detection | -| **Agricultural Task** | strawberry_detection | -| **Location** | Worldwide | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | handheld/ground | -| **Annotation Format** | coco_json | -| **Input Data Format** | JPG | -| **Number of Images** | 204 | -| **Documentation** | None | -| **Stats/Mean** | [0.272, 0.276, 0.2] | -| **Stats/Standard Deviation** | [0.148, 0.148, 0.148] | - - -## Examples - -![Example Images for strawberry_detection_2023](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/strawberry_detection_2023_examples.png) \ No newline at end of file diff --git a/docs/datasets/sugarbeet_weed_segmentation.md b/docs/datasets/sugarbeet_weed_segmentation.md deleted file mode 100644 index 7b2b4405..00000000 --- a/docs/datasets/sugarbeet_weed_segmentation.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `sugarbeet_weed_segmentation` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | semantic_segmentation | -| **Agricultural Task** | weed_segmentation | -| **Location** | None, None | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | ground | -| **Input Data Format** | PNG | -| **Annotation Format** | image | -| **Number of Images** | 1931 | -| **Documentation** | https://github.com/inkyusa/weedNet | -| **Stats/Mean** | [0.374, 0.374, 0.374] | -| **Stats/Standard Deviation** | [0.17, 0.17, 0.17] | -| **Classes** | sugar_beet, random_weeds | - - -## Examples - -![Example Images for sugarbeet_weed_segmentation](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/sugarbeet_weed_segmentation_examples.png) \ No newline at end of file diff --git a/docs/datasets/sugarcane_damage_usa.md b/docs/datasets/sugarcane_damage_usa.md deleted file mode 100644 index d405d2f6..00000000 --- a/docs/datasets/sugarcane_damage_usa.md +++ /dev/null @@ -1,24 +0,0 @@ - -# `sugarcane_damage_usa` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | damage_classification | -| **Location** | United States, North America | -| **Sensor Modality** | RGB | -| **Platform** | ground_fixed | -| **Input Data Format** | bmp | -| **Annotation Format** | directory_names | -| **Number of Images** | 153 | -| **Documentation** | https://github.com/The77Lab/SugarcaneBilletsDataset | -| **Classes** | cracked, crushed, no_buds, two_buds, single_damaged_buds, no_damage | -| **Stats/Mean** | [0.244, 0.247, 0.262] | -| **Stats/Standard Deviation** | [0.224, 0.217, 0.192] | - - -## Examples - -![Example Images for sugarcane_damage_usa](https://github.com/Project-AgML/AgML/blob/dev/docs/sample_images/sugarcane_damage_usa_examples.png) \ No newline at end of file diff --git a/docs/datasets/sunflower_disease_classification.md b/docs/datasets/sunflower_disease_classification.md deleted file mode 100644 index 6a9c0f28..00000000 --- a/docs/datasets/sunflower_disease_classification.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `sunflower_disease_classification` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | sunflower_disease_classification | -| **Location** | Bangladesh, Asia | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | uav | -| **Input Data Format** | JPG | -| **Annotation Format** | directory_names | -| **Number of Images** | 2358 | -| **Documentation** | https://www.sciencedirect.com/science/article/pii/S2352340922002542 | -| **Classes** | Downy_mildew, Fresh_leaf, Gray_mold, Leaf_scars | -| **Stats/Mean** | [0.456, 0.454, 0.244] | -| **Stats/Standard Deviation** | [0.225, 0.214, 0.18] | - - -## Examples - -![Example Images for sunflower_disease_classification](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/sunflower_disease_classification_examples.png) \ No newline at end of file diff --git a/docs/datasets/susnato_plant_disease_detection_processed.md b/docs/datasets/susnato_plant_disease_detection_processed.md deleted file mode 100644 index 52fe2904..00000000 --- a/docs/datasets/susnato_plant_disease_detection_processed.md +++ /dev/null @@ -1,24 +0,0 @@ - -# `susnato_plant_disease_detection_processed` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | None | -| **Machine Learning Task** | object_detection | -| **Agricultural Task** | None | -| **Location** | None | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | None | -| **Platform** | None | -| **Annotation Format** | coco_json | -| **Input Data Format** | jpg | -| **Number of Images** | 2324 | -| **Documentation** | https://huggingface.co/datasets/susnato/plant_disease_detection_processed | -| **Stats/Mean** | None | -| **Stats/Standard Deviation** | None | - -## Examples - -![Example Images for susnato_plant_disease_detection_processed]() \ No newline at end of file diff --git a/docs/datasets/tea_leaf_disease_classification.md b/docs/datasets/tea_leaf_disease_classification.md deleted file mode 100644 index 75bb95c9..00000000 --- a/docs/datasets/tea_leaf_disease_classification.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `tea_leaf_disease_classification` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | tea_leaf_disease_classification | -| **Location** | India, Asia | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | uav | -| **Input Data Format** | JPG | -| **Annotation Format** | directory_names | -| **Number of Images** | 5867 | -| **Documentation** | https://www.kaggle.com/datasets/saikatdatta1994/tea-leaf-disease | -| **Classes** | algal_spot, brown_blight, gray_blight, healthy, helopeltis, red_spot | -| **Stats/Mean** | [0.72, 0.715, 0.721] | -| **Stats/Standard Deviation** | [0.264, 0.243, 0.325] | - - -## Examples - -![Example Images for tea_leaf_disease_classification](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/tea_leaf_disease_classification_examples.png) \ No newline at end of file diff --git a/docs/datasets/tomato_leaf_disease.md b/docs/datasets/tomato_leaf_disease.md deleted file mode 100644 index 117a4d03..00000000 --- a/docs/datasets/tomato_leaf_disease.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `tomato_leaf_disease` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | Bacterial Spot, Early Blight, Healthy, Late Blight, Leaf Mold, Septoria Leaf Spot, Spider Mites Two-spotted Spider Mite, Target Spot, Tomato Mosaic Virus, Tomato Yellow Leaf Curl Virus | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | disease_classification | -| **Location** | Worldwide | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | handheld | -| **Input Data Format** | JPEG | -| **Annotation Format** | directory_names | -| **Number of Images** | 11000 | -| **Documentation** | https://www.kaggle.com/datasets/kaustubhb999/tomatoleaf?resource=download | -| **Stats/Mean** | [0.453, 0.463, 0.419] | -| **Stats/Standard Deviation** | [0.169, 0.148, 0.185] | - - -## Examples - -![Example Images for tomato_leaf_disease](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/tomato_leaf_disease_examples.png) \ No newline at end of file diff --git a/docs/datasets/tomato_ripeness_detection.md b/docs/datasets/tomato_ripeness_detection.md deleted file mode 100644 index e32b3988..00000000 --- a/docs/datasets/tomato_ripeness_detection.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `tomato_ripeness_detection` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Machine Learning Task** | object_detection | -| **Agricultural Task** | fruit_ripeness_detection | -| **Location** | Worldwide | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | ground | -| **Input Data Format** | JPG | -| **Annotation Format** | coco_json | -| **Number of Images** | 804 | -| **Documentation** | https://www.kaggle.com/datasets/nexuswho/laboro-tomato | -| **Classes** | b_fully_ripened, b_half_ripened, b_green, l_fully_ripened, l_half_ripened, l_green | -| **Stats/Mean** | [0.468, 0.505, 0.318] | -| **Stats/Standard Deviation** | [0.21, 0.193, 0.224] | - - -## Examples - -![Example Images for tomato_ripeness_detection](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/tomato_ripeness_detection_examples.png) \ No newline at end of file diff --git a/docs/datasets/vegann_multicrop_presence_segmentation.md b/docs/datasets/vegann_multicrop_presence_segmentation.md deleted file mode 100644 index ed206152..00000000 --- a/docs/datasets/vegann_multicrop_presence_segmentation.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `vegann_multicrop_presence_segmentation` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | plant | -| **Machine Learning Task** | semantic_segmentation | -| **Agricultural Task** | vegetation_segmentation | -| **Location** | Worldwide | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | aerial | -| **Input Data Format** | PNG | -| **Annotation Format** | image | -| **Number of Images** | 3775 | -| **Documentation** | https://zenodo.org/records/7636408 | -| **Stats/Mean** | [16.392, 18.685, 14.235] | -| **Stats/Standard Deviation** | [4.59, 5.818, 4.19] | - - -## Examples - -![Example Images for vegann_multicrop_presence_segmentation](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/vegann_multicrop_presence_segmentation_examples.png) \ No newline at end of file diff --git a/docs/datasets/vine_virus_photo_dataset.md b/docs/datasets/vine_virus_photo_dataset.md deleted file mode 100644 index 3f9f06d4..00000000 --- a/docs/datasets/vine_virus_photo_dataset.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `vine_virus_photo_dataset` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | Leafroll 3, No Virus, Other Red, Red Blotch | -| **Machine Learning Task** | image_classification | -| **Agricultural Task** | vine_virus_photo | -| **Location** | Worldwide | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | handheld/ground | -| **Input Data Format** | jpg, png, jpeg, JPG | -| **Annotation Format** | directory_names | -| **Number of Images** | 3866 | -| **Documentation** | None | -| **Stats/Mean** | [0.45, 0.449, 0.295] | -| **Stats/Standard Deviation** | [0.231, 0.228, 0.23] | - - -## Examples - -![Example Images for vine_virus_photo_dataset](https://github.com/Project-AgML/AgML/blob/dev/docs/sample_images/vine_virus_photo_dataset_examples.png) \ No newline at end of file diff --git a/docs/datasets/wheat_head_counting.md b/docs/datasets/wheat_head_counting.md deleted file mode 100644 index 28d2dd04..00000000 --- a/docs/datasets/wheat_head_counting.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `wheat_head_counting` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | Wheat Head | -| **Machine Learning Task** | object_detection | -| **Agricultural Task** | wheat_head_counting | -| **Location** | Worldwide | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | ground | -| **Input Data Format** | JPG | -| **Annotation Format** | coco_json | -| **Number of Images** | 6512 | -| **Documentation** | https://zenodo.org/record/5092309 | -| **Stats/Mean** | [0.371, 0.361, 0.23] | -| **Stats/Standard Deviation** | [0.219, 0.217, 0.177] | - - -## Examples - -![Example Images for wheat_head_counting](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/wheat_head_counting_examples.png) \ No newline at end of file diff --git a/docs/datasets/white_grapes_and_leaves_segmentation.md b/docs/datasets/white_grapes_and_leaves_segmentation.md deleted file mode 100644 index 1ee25ca7..00000000 --- a/docs/datasets/white_grapes_and_leaves_segmentation.md +++ /dev/null @@ -1,25 +0,0 @@ - -# `white_grapes_and_leaves_segmentation` - -## Dataset Metadata - -| Metadata | Value | -| --- | --- | -| **Classes** | Leaf, Grape | -| **Machine Learning Task** | semantic_segmentation | -| **Agricultural Task** | vineyard_scene_segmentation | -| **Location** | Greece, Europe | -| **Sensor Modality** | RGB | -| **Real or Synthetic** | real | -| **Platform** | handheld/ground | -| **Input Data Format** | JPG | -| **Annotation Format** | image | -| **Number of Images** | 273 | -| **Documentation** | https://link.springer.com/chapter/10.1007/978-3-030-48791-1_22 | -| **Stats/Mean** | [0.309, 0.473, 0.524] | -| **Stats/Standard Deviation** | [0.233, 0.246, 0.253] | - - -## Examples - -![Example Images for white_grapes_and_leaves_segmentation](https://github.com/Project-AgML/AgML/blob/main/docs/sample_images/white_grapes_and_leaves_segmentation_examples.png) \ No newline at end of file diff --git a/docs/development.md b/docs/development.md deleted file mode 100644 index 7cea1648..00000000 --- a/docs/development.md +++ /dev/null @@ -1,3 +0,0 @@ - - ---8<-- "CONTRIBUTING.md" diff --git a/docs/index.md b/docs/index.md deleted file mode 100644 index 8e6f2fb4..00000000 --- a/docs/index.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -hide: -- feedback ---- - ---8<-- "README.md" diff --git a/docs/js/feedback.js b/docs/js/feedback.js deleted file mode 100644 index f97321a5..00000000 --- a/docs/js/feedback.js +++ /dev/null @@ -1,14 +0,0 @@ -const feedback = document.forms.feedback; -feedback.hidden = false; - -feedback.addEventListener("submit", function(ev) { - ev.preventDefault(); - const commentElement = document.getElementById("feedback"); - commentElement.style.display = "block"; - feedback.firstElementChild.disabled = true; - const data = ev.submitter.getAttribute("data-md-value"); - const note = feedback.querySelector(".md-feedback__note [data-md-value='" + data + "']"); - if (note) { - note.hidden = false; - } -}) diff --git a/docs/license.md b/docs/license.md deleted file mode 100644 index cbc38905..00000000 --- a/docs/license.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -hide: -- feedback ---- - -# License - ---8<-- "LICENSE" diff --git a/docs/overrides/partials/comments.html b/docs/overrides/partials/comments.html deleted file mode 100644 index 1be8df33..00000000 --- a/docs/overrides/partials/comments.html +++ /dev/null @@ -1,57 +0,0 @@ - - - \ No newline at end of file diff --git a/docs/sample_images/almond_bloom_2023_examples.png b/docs/sample_images/almond_bloom_2023_examples.png deleted file mode 100644 index 9aa6c6ec..00000000 Binary files a/docs/sample_images/almond_bloom_2023_examples.png and /dev/null differ diff --git a/docs/sample_images/almond_harvest_2021_examples.png b/docs/sample_images/almond_harvest_2021_examples.png deleted file mode 100644 index 4ebba4c9..00000000 Binary files a/docs/sample_images/almond_harvest_2021_examples.png and /dev/null differ diff --git a/docs/sample_images/apple_detection_drone_brazil_examples.png b/docs/sample_images/apple_detection_drone_brazil_examples.png deleted file mode 100644 index df1272c4..00000000 Binary files a/docs/sample_images/apple_detection_drone_brazil_examples.png and /dev/null differ diff --git a/docs/sample_images/apple_detection_spain_examples.png b/docs/sample_images/apple_detection_spain_examples.png deleted file mode 100644 index f9bacf45..00000000 Binary files a/docs/sample_images/apple_detection_spain_examples.png and /dev/null differ diff --git a/docs/sample_images/apple_detection_usa_examples.png b/docs/sample_images/apple_detection_usa_examples.png deleted file mode 100644 index b77efd0e..00000000 Binary files a/docs/sample_images/apple_detection_usa_examples.png and /dev/null differ diff --git a/docs/sample_images/apple_flower_segmentation_examples.png b/docs/sample_images/apple_flower_segmentation_examples.png deleted file mode 100644 index 631bd8a8..00000000 Binary files a/docs/sample_images/apple_flower_segmentation_examples.png and /dev/null differ diff --git a/docs/sample_images/apple_segmentation_minnesota_examples.png b/docs/sample_images/apple_segmentation_minnesota_examples.png deleted file mode 100644 index 2cea0b4f..00000000 Binary files a/docs/sample_images/apple_segmentation_minnesota_examples.png and /dev/null differ diff --git a/docs/sample_images/arabica_coffee_leaf_disease_classification_examples.png b/docs/sample_images/arabica_coffee_leaf_disease_classification_examples.png deleted file mode 100644 index d472e4cf..00000000 Binary files a/docs/sample_images/arabica_coffee_leaf_disease_classification_examples.png and /dev/null differ diff --git a/docs/sample_images/banana_leaf_disease_classification_examples.png b/docs/sample_images/banana_leaf_disease_classification_examples.png deleted file mode 100644 index 466778fd..00000000 Binary files a/docs/sample_images/banana_leaf_disease_classification_examples.png and /dev/null differ diff --git a/docs/sample_images/bean_disease_uganda_examples.png b/docs/sample_images/bean_disease_uganda_examples.png deleted file mode 100644 index cba74dde..00000000 Binary files a/docs/sample_images/bean_disease_uganda_examples.png and /dev/null differ diff --git a/docs/sample_images/bean_synthetic_earlygrowth_aerial_examples.png b/docs/sample_images/bean_synthetic_earlygrowth_aerial_examples.png deleted file mode 100644 index 9dc1f3d4..00000000 Binary files a/docs/sample_images/bean_synthetic_earlygrowth_aerial_examples.png and /dev/null differ diff --git a/docs/sample_images/betel_leaf_disease_classification_examples.png b/docs/sample_images/betel_leaf_disease_classification_examples.png deleted file mode 100644 index 3993426f..00000000 Binary files a/docs/sample_images/betel_leaf_disease_classification_examples.png and /dev/null differ diff --git a/docs/sample_images/blackgram_plant_leaf_disease_classification_examples.png b/docs/sample_images/blackgram_plant_leaf_disease_classification_examples.png deleted file mode 100644 index 10a7164a..00000000 Binary files a/docs/sample_images/blackgram_plant_leaf_disease_classification_examples.png and /dev/null differ diff --git a/docs/sample_images/carrot_weeds_germany_examples.png b/docs/sample_images/carrot_weeds_germany_examples.png deleted file mode 100644 index 4fdc93a2..00000000 Binary files a/docs/sample_images/carrot_weeds_germany_examples.png and /dev/null differ diff --git a/docs/sample_images/chilli_leaf_classification_examples.png b/docs/sample_images/chilli_leaf_classification_examples.png deleted file mode 100644 index 1904e1d6..00000000 Binary files a/docs/sample_images/chilli_leaf_classification_examples.png and /dev/null differ diff --git a/docs/sample_images/coconut_tree_disease_classification_examples.png b/docs/sample_images/coconut_tree_disease_classification_examples.png deleted file mode 100644 index 5dd70271..00000000 Binary files a/docs/sample_images/coconut_tree_disease_classification_examples.png and /dev/null differ diff --git a/docs/sample_images/corn_maize_leaf_disease_examples.png b/docs/sample_images/corn_maize_leaf_disease_examples.png deleted file mode 100644 index c082ed45..00000000 Binary files a/docs/sample_images/corn_maize_leaf_disease_examples.png and /dev/null differ diff --git a/docs/sample_images/crop_weeds_greece_examples.png b/docs/sample_images/crop_weeds_greece_examples.png deleted file mode 100644 index 8b8dea43..00000000 Binary files a/docs/sample_images/crop_weeds_greece_examples.png and /dev/null differ diff --git a/docs/sample_images/cucumber_disease_classification_examples.png b/docs/sample_images/cucumber_disease_classification_examples.png deleted file mode 100644 index 7f7f36f1..00000000 Binary files a/docs/sample_images/cucumber_disease_classification_examples.png and /dev/null differ diff --git a/docs/sample_images/embrapa_wgisd_grape_detection_examples.png b/docs/sample_images/embrapa_wgisd_grape_detection_examples.png deleted file mode 100644 index 2cf93c37..00000000 Binary files a/docs/sample_images/embrapa_wgisd_grape_detection_examples.png and /dev/null differ diff --git a/docs/sample_images/fruit_detection_worldwide_examples.png b/docs/sample_images/fruit_detection_worldwide_examples.png deleted file mode 100644 index e4a70026..00000000 Binary files a/docs/sample_images/fruit_detection_worldwide_examples.png and /dev/null differ diff --git a/docs/sample_images/gemini_flower_detection_2022_examples.png b/docs/sample_images/gemini_flower_detection_2022_examples.png deleted file mode 100644 index 3abfa99e..00000000 Binary files a/docs/sample_images/gemini_flower_detection_2022_examples.png and /dev/null differ diff --git a/docs/sample_images/gemini_leaf_detection_2022_examples.png b/docs/sample_images/gemini_leaf_detection_2022_examples.png deleted file mode 100644 index a2c41b30..00000000 Binary files a/docs/sample_images/gemini_leaf_detection_2022_examples.png and /dev/null differ diff --git a/docs/sample_images/gemini_plant_detection_2022_examples.png b/docs/sample_images/gemini_plant_detection_2022_examples.png deleted file mode 100644 index a097afe5..00000000 Binary files a/docs/sample_images/gemini_plant_detection_2022_examples.png and /dev/null differ diff --git a/docs/sample_images/gemini_pod_detection_2022_examples.png b/docs/sample_images/gemini_pod_detection_2022_examples.png deleted file mode 100644 index 35dc5be1..00000000 Binary files a/docs/sample_images/gemini_pod_detection_2022_examples.png and /dev/null differ diff --git a/docs/sample_images/ghai_broccoli_detection_examples.png b/docs/sample_images/ghai_broccoli_detection_examples.png deleted file mode 100644 index 8084d4a6..00000000 Binary files a/docs/sample_images/ghai_broccoli_detection_examples.png and /dev/null differ diff --git a/docs/sample_images/ghai_strawberry_fruit_detection_examples.png b/docs/sample_images/ghai_strawberry_fruit_detection_examples.png deleted file mode 100644 index 0cf7831d..00000000 Binary files a/docs/sample_images/ghai_strawberry_fruit_detection_examples.png and /dev/null differ diff --git a/docs/sample_images/grape_detection_californiaday_examples.png b/docs/sample_images/grape_detection_californiaday_examples.png deleted file mode 100644 index 95583047..00000000 Binary files a/docs/sample_images/grape_detection_californiaday_examples.png and /dev/null differ diff --git a/docs/sample_images/grape_detection_californianight_examples.png b/docs/sample_images/grape_detection_californianight_examples.png deleted file mode 100644 index 958047fd..00000000 Binary files a/docs/sample_images/grape_detection_californianight_examples.png and /dev/null differ diff --git a/docs/sample_images/grape_detection_syntheticday_examples.png b/docs/sample_images/grape_detection_syntheticday_examples.png deleted file mode 100644 index 601f4ee7..00000000 Binary files a/docs/sample_images/grape_detection_syntheticday_examples.png and /dev/null differ diff --git a/docs/sample_images/growliflower_cauliflower_segmentation_examples.png b/docs/sample_images/growliflower_cauliflower_segmentation_examples.png deleted file mode 100644 index 718d0e51..00000000 Binary files a/docs/sample_images/growliflower_cauliflower_segmentation_examples.png and /dev/null differ diff --git a/docs/sample_images/guava_disease_pakistan_examples.png b/docs/sample_images/guava_disease_pakistan_examples.png deleted file mode 100644 index a8baeee3..00000000 Binary files a/docs/sample_images/guava_disease_pakistan_examples.png and /dev/null differ diff --git a/docs/sample_images/iNatAg_sample_images.png b/docs/sample_images/iNatAg_sample_images.png deleted file mode 100644 index 4373d7dd..00000000 Binary files a/docs/sample_images/iNatAg_sample_images.png and /dev/null differ diff --git a/docs/sample_images/java_plum_leaf_disease_classification_examples.png b/docs/sample_images/java_plum_leaf_disease_classification_examples.png deleted file mode 100644 index 6a3c62f1..00000000 Binary files a/docs/sample_images/java_plum_leaf_disease_classification_examples.png and /dev/null differ diff --git a/docs/sample_images/leaf_counting_denmark_examples.png b/docs/sample_images/leaf_counting_denmark_examples.png deleted file mode 100644 index 4c2f9155..00000000 Binary files a/docs/sample_images/leaf_counting_denmark_examples.png and /dev/null differ diff --git a/docs/sample_images/mango_detection_australia_examples.png b/docs/sample_images/mango_detection_australia_examples.png deleted file mode 100644 index 09d2906d..00000000 Binary files a/docs/sample_images/mango_detection_australia_examples.png and /dev/null differ diff --git a/docs/sample_images/mango_leaf_disease_classification_examples.png b/docs/sample_images/mango_leaf_disease_classification_examples.png deleted file mode 100644 index 5ed3cbd7..00000000 Binary files a/docs/sample_images/mango_leaf_disease_classification_examples.png and /dev/null differ diff --git a/docs/sample_images/onion_leaf_classification_examples.png b/docs/sample_images/onion_leaf_classification_examples.png deleted file mode 100644 index 2b987cf2..00000000 Binary files a/docs/sample_images/onion_leaf_classification_examples.png and /dev/null differ diff --git a/docs/sample_images/orange_leaf_disease_classification_examples.png b/docs/sample_images/orange_leaf_disease_classification_examples.png deleted file mode 100644 index 72cf4a5c..00000000 Binary files a/docs/sample_images/orange_leaf_disease_classification_examples.png and /dev/null differ diff --git a/docs/sample_images/paddy_disease_classification_examples.png b/docs/sample_images/paddy_disease_classification_examples.png deleted file mode 100644 index 7344e56a..00000000 Binary files a/docs/sample_images/paddy_disease_classification_examples.png and /dev/null differ diff --git a/docs/sample_images/papaya_leaf_disease_classification_examples.png b/docs/sample_images/papaya_leaf_disease_classification_examples.png deleted file mode 100644 index f2b46778..00000000 Binary files a/docs/sample_images/papaya_leaf_disease_classification_examples.png and /dev/null differ diff --git a/docs/sample_images/peachpear_flower_segmentation_examples.png b/docs/sample_images/peachpear_flower_segmentation_examples.png deleted file mode 100644 index f5c4a15f..00000000 Binary files a/docs/sample_images/peachpear_flower_segmentation_examples.png and /dev/null differ diff --git a/docs/sample_images/plant_doc_classification_examples.png b/docs/sample_images/plant_doc_classification_examples.png deleted file mode 100644 index ee2c8da9..00000000 Binary files a/docs/sample_images/plant_doc_classification_examples.png and /dev/null differ diff --git a/docs/sample_images/plant_doc_detection_examples.png b/docs/sample_images/plant_doc_detection_examples.png deleted file mode 100644 index 0f3e52d3..00000000 Binary files a/docs/sample_images/plant_doc_detection_examples.png and /dev/null differ diff --git a/docs/sample_images/plant_seedlings_aarhus_examples.png b/docs/sample_images/plant_seedlings_aarhus_examples.png deleted file mode 100644 index 83a5f684..00000000 Binary files a/docs/sample_images/plant_seedlings_aarhus_examples.png and /dev/null differ diff --git a/docs/sample_images/plant_village_classification_examples.png b/docs/sample_images/plant_village_classification_examples.png deleted file mode 100644 index a2bacfb2..00000000 Binary files a/docs/sample_images/plant_village_classification_examples.png and /dev/null differ diff --git a/docs/sample_images/rangeland_weeds_australia_examples.png b/docs/sample_images/rangeland_weeds_australia_examples.png deleted file mode 100644 index b438a7d4..00000000 Binary files a/docs/sample_images/rangeland_weeds_australia_examples.png and /dev/null differ diff --git a/docs/sample_images/red_grapes_and_leaves_segmentation_examples.png b/docs/sample_images/red_grapes_and_leaves_segmentation_examples.png deleted file mode 100644 index c4e66b57..00000000 Binary files a/docs/sample_images/red_grapes_and_leaves_segmentation_examples.png and /dev/null differ diff --git a/docs/sample_images/rice_leaf_disease_classification_examples.png b/docs/sample_images/rice_leaf_disease_classification_examples.png deleted file mode 100644 index f9c4602e..00000000 Binary files a/docs/sample_images/rice_leaf_disease_classification_examples.png and /dev/null differ diff --git a/docs/sample_images/rice_seedling_segmentation_examples.png b/docs/sample_images/rice_seedling_segmentation_examples.png deleted file mode 100644 index c268af6f..00000000 Binary files a/docs/sample_images/rice_seedling_segmentation_examples.png and /dev/null differ diff --git a/docs/sample_images/riseholme_strawberry_classification_2021_examples.png b/docs/sample_images/riseholme_strawberry_classification_2021_examples.png deleted file mode 100644 index e7ee792e..00000000 Binary files a/docs/sample_images/riseholme_strawberry_classification_2021_examples.png and /dev/null differ diff --git a/docs/sample_images/soybean_insect_classification_examples.png b/docs/sample_images/soybean_insect_classification_examples.png deleted file mode 100644 index 93d0a968..00000000 Binary files a/docs/sample_images/soybean_insect_classification_examples.png and /dev/null differ diff --git a/docs/sample_images/soybean_weed_uav_brazil_examples.png b/docs/sample_images/soybean_weed_uav_brazil_examples.png deleted file mode 100644 index 727b452b..00000000 Binary files a/docs/sample_images/soybean_weed_uav_brazil_examples.png and /dev/null differ diff --git a/docs/sample_images/strawberry_detection_2022_examples.png b/docs/sample_images/strawberry_detection_2022_examples.png deleted file mode 100644 index 43bcb1d7..00000000 Binary files a/docs/sample_images/strawberry_detection_2022_examples.png and /dev/null differ diff --git a/docs/sample_images/strawberry_detection_2023_examples.png b/docs/sample_images/strawberry_detection_2023_examples.png deleted file mode 100644 index d38cd3ac..00000000 Binary files a/docs/sample_images/strawberry_detection_2023_examples.png and /dev/null differ diff --git a/docs/sample_images/sugarbeet_weed_segmentation_examples.png b/docs/sample_images/sugarbeet_weed_segmentation_examples.png deleted file mode 100644 index 8e0c69d4..00000000 Binary files a/docs/sample_images/sugarbeet_weed_segmentation_examples.png and /dev/null differ diff --git a/docs/sample_images/sugarcane_damage_usa_examples.png b/docs/sample_images/sugarcane_damage_usa_examples.png deleted file mode 100644 index 81e780f3..00000000 Binary files a/docs/sample_images/sugarcane_damage_usa_examples.png and /dev/null differ diff --git a/docs/sample_images/sunflower_disease_classification_examples.png b/docs/sample_images/sunflower_disease_classification_examples.png deleted file mode 100644 index a964875d..00000000 Binary files a/docs/sample_images/sunflower_disease_classification_examples.png and /dev/null differ diff --git a/docs/sample_images/tea_leaf_disease_classification_examples.png b/docs/sample_images/tea_leaf_disease_classification_examples.png deleted file mode 100644 index a6feb71a..00000000 Binary files a/docs/sample_images/tea_leaf_disease_classification_examples.png and /dev/null differ diff --git a/docs/sample_images/tomato_leaf_disease_examples.png b/docs/sample_images/tomato_leaf_disease_examples.png deleted file mode 100644 index e3ad3276..00000000 Binary files a/docs/sample_images/tomato_leaf_disease_examples.png and /dev/null differ diff --git a/docs/sample_images/tomato_ripeness_detection_examples.png b/docs/sample_images/tomato_ripeness_detection_examples.png deleted file mode 100644 index 9796e45e..00000000 Binary files a/docs/sample_images/tomato_ripeness_detection_examples.png and /dev/null differ diff --git a/docs/sample_images/vegann_multicrop_presence_segmentation_examples.png b/docs/sample_images/vegann_multicrop_presence_segmentation_examples.png deleted file mode 100644 index 3a48a593..00000000 Binary files a/docs/sample_images/vegann_multicrop_presence_segmentation_examples.png and /dev/null differ diff --git a/docs/sample_images/vine_virus_photo_dataset_examples.png b/docs/sample_images/vine_virus_photo_dataset_examples.png deleted file mode 100644 index 152f0abf..00000000 Binary files a/docs/sample_images/vine_virus_photo_dataset_examples.png and /dev/null differ diff --git a/docs/sample_images/wheat_head_counting_examples.png b/docs/sample_images/wheat_head_counting_examples.png deleted file mode 100644 index 376bbc1b..00000000 Binary files a/docs/sample_images/wheat_head_counting_examples.png and /dev/null differ diff --git a/docs/sample_images/white_grapes_and_leaves_segmentation_examples.png b/docs/sample_images/white_grapes_and_leaves_segmentation_examples.png deleted file mode 100644 index 2d49bef4..00000000 Binary files a/docs/sample_images/white_grapes_and_leaves_segmentation_examples.png and /dev/null differ diff --git a/pyproject.toml b/pyproject.toml index 6a42b2e1..4023851d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,20 +63,6 @@ dependencies = [ [tool.uv] [dependency-groups] -docs = [ - "mkdocs>=1.5.0", - "mkdocs-material>=9.5.0", - "markdown-callouts>=0.4.0", - "markdown-exec>=1.7.0", - "mkdocs-gen-files>=0.5.0", - "mkdocs-literate-nav>=0.6.0", - "mkdocs-coverage>=1.0.0", - "mkdocstrings>=0.24.0", - "mkdocstrings-python>=1.8.0", - "mkdocs-git-revision-date-localized-plugin>=1.2.0", - "mkdocs-minify-plugin>=0.8.0", - "properdocs" -] dev = [ "boto3>=1.35.66", "scikit-image>=0.21.0", diff --git a/scripts/docs/gen_credits.py b/scripts/docs/gen_credits.py deleted file mode 100644 index 4bfde499..00000000 --- a/scripts/docs/gen_credits.py +++ /dev/null @@ -1,177 +0,0 @@ -"""Script to generate the project's credits.""" - -from __future__ import annotations - -import os -import sys -from collections import defaultdict -from importlib.metadata import distributions -from itertools import chain -from pathlib import Path -from textwrap import dedent -from typing import Dict, Iterable, Union - -from jinja2 import StrictUndefined -from jinja2.sandbox import SandboxedEnvironment -from packaging.requirements import Requirement - -# TODO: Remove once support for Python 3.10 is dropped. -if sys.version_info >= (3, 11): - import tomllib -else: - import tomli as tomllib - -project_dir = Path(os.getenv("MKDOCS_CONFIG_DIR", ".")) -with project_dir.joinpath("../pyproject.toml").open("rb") as pyproject_file: - pyproject = tomllib.load(pyproject_file) -project = pyproject["project"] -project_name = project["name"] -devdeps = [dep for dep in pyproject["tool"]["uv"]["dev-dependencies"] if not dep.startswith("-e")] - -PackageMetadata = Dict[str, Union[str, Iterable[str]]] -Metadata = Dict[str, PackageMetadata] - - -def _merge_fields(metadata: dict) -> PackageMetadata: - fields = defaultdict(list) - for header, value in metadata.items(): - fields[header.lower()].append(value.strip()) - return { - field: value if len(value) > 1 or field in ("classifier", "requires-dist") else value[0] - for field, value in fields.items() - } - - -def _norm_name(name: str) -> str: - return name.replace("_", "-").replace(".", "-").lower() - - -def _requirements(deps: list[str]) -> dict[str, Requirement]: - return {_norm_name((req := Requirement(dep)).name): req for dep in deps} - - -def _extra_marker(req: Requirement) -> str | None: - if not req.marker: - return None - try: - return next(marker[2].value for marker in req.marker._markers if getattr(marker[0], "value", None) == "extra") - except StopIteration: - return None - - -def _get_metadata() -> Metadata: - metadata = {} - for pkg in distributions(): - name = _norm_name(pkg.name) # type: ignore[attr-defined,unused-ignore] - metadata[name] = _merge_fields(pkg.metadata) # type: ignore[arg-type] - metadata[name]["spec"] = set() - metadata[name]["extras"] = set() - metadata[name].setdefault("summary", "") - _set_license(metadata[name]) - return metadata - - -def _set_license(metadata: PackageMetadata) -> None: - license_field = metadata.get("license-expression", metadata.get("license", "")) - license_name = license_field if isinstance(license_field, str) else " + ".join(license_field) - check_classifiers = license_name in ("UNKNOWN", "Dual License", "") or license_name.count("\n") - if check_classifiers: - license_names = [] - for classifier in metadata.get("classifier", []): - if classifier.startswith("License ::"): - license_names.append(classifier.rsplit("::", 1)[1].strip()) - license_name = " + ".join(license_names) - metadata["license"] = license_name or "?" - - -def _get_deps(base_deps: dict[str, Requirement], metadata: Metadata) -> Metadata: - deps = {} - for dep_name, dep_req in base_deps.items(): - if dep_name not in metadata or dep_name == "agml": - continue - metadata[dep_name]["spec"] |= {str(spec) for spec in dep_req.specifier} # type: ignore[operator] - metadata[dep_name]["extras"] |= dep_req.extras # type: ignore[operator] - deps[dep_name] = metadata[dep_name] - - again = True - while again: - again = False - for pkg_name in metadata: - if pkg_name in deps: - for pkg_dependency in metadata[pkg_name].get("requires-dist", []): - requirement = Requirement(pkg_dependency) - dep_name = _norm_name(requirement.name) - extra_marker = _extra_marker(requirement) - if ( - dep_name in metadata - and dep_name not in deps - and dep_name != project["name"] - and (not extra_marker or extra_marker in deps[pkg_name]["extras"]) - ): - metadata[dep_name]["spec"] |= {str(spec) for spec in requirement.specifier} # type: ignore[operator] - deps[dep_name] = metadata[dep_name] - again = True - - return deps - - -def _render_credits() -> str: - metadata = _get_metadata() - dev_dependencies = _get_deps(_requirements(devdeps), metadata) - prod_dependencies = _get_deps( - _requirements( - chain( # type: ignore[arg-type] - project.get("dependencies", []), - chain(*project.get("optional-dependencies", {}).values()), - ), - ), - metadata, - ) - - template_data = { - "project_name": project_name, - "prod_dependencies": sorted(prod_dependencies.values(), key=lambda dep: str(dep["name"]).lower()), - "dev_dependencies": sorted(dev_dependencies.values(), key=lambda dep: str(dep["name"]).lower()), - "more_credits": "", - } - template_text = dedent( - """ - # Credits - - These projects were used to build *{{ project_name }}*. **Thank you!** - - [Python](https://www.python.org/) | - [uv](https://github.com/astral-sh/uv) | - - {% macro dep_line(dep) -%} - [{{ dep.name }}](https://pypi.org/project/{{ dep.name }}/) | {{ dep.summary }} | {{ ("`" ~ dep.spec|sort(reverse=True)|join(", ") ~ "`") if dep.spec else "" }} | `{{ dep.version }}` | {{ dep.license }} - {%- endmacro %} - - {% if prod_dependencies -%} - ### Runtime dependencies - - Project | Summary | Version (accepted) | Version (last resolved) | License - ------- | ------- | ------------------ | ----------------------- | ------- - {% for dep in prod_dependencies -%} - {{ dep_line(dep) }} - {% endfor %} - - {% endif -%} - {% if dev_dependencies -%} - ### Development dependencies - - Project | Summary | Version (accepted) | Version (last resolved) | License - ------- | ------- | ------------------ | ----------------------- | ------- - {% for dep in dev_dependencies -%} - {{ dep_line(dep) }} - {% endfor %} - - {% endif -%} - {% if more_credits %}**[More credits from the author]({{ more_credits }})**{% endif %} - """, - ) - jinja_env = SandboxedEnvironment(undefined=StrictUndefined) - return jinja_env.from_string(template_text).render(**template_data) - - -print(_render_credits()) diff --git a/scripts/docs/gen_dataset_list.py b/scripts/docs/gen_dataset_list.py deleted file mode 100644 index 97868136..00000000 --- a/scripts/docs/gen_dataset_list.py +++ /dev/null @@ -1,47 +0,0 @@ -import json -from importlib import resources -from textwrap import dedent - -from jinja2 import StrictUndefined -from jinja2.sandbox import SandboxedEnvironment - -# Check whether any dataset has been added that needs information updated (we do this -# by checking for any datasets in the `public_datasources.json` file that don't have -# corresponding information for the dataset statistics or other properties like shape). - - -def _render_dataset() -> str: - public_datasets = json.load(resources.files("agml._assets").joinpath("public_datasources.json").open("r")) - - public_datasets = { - "datasets": sorted( - [(value | {"dataset_name": key}) for key, value in public_datasets.items()], - key=lambda dep: str(dep["dataset_name"]).lower(), - ) - } - # return public_datasets - - template_datasets = dedent( - """ - - {% macro dat_line(dat) -%} - [{{dat.dataset_name}}](datasets/{{dat.dataset_name}}.html) | {{ dat.ml_task }} | {{ dat.n_images }} | {{ dat.docs_url }} | - {%- endmacro %} - - {% if datasets -%} - - ## Public Dataset Listing - - | Dataset | Task | Number of Images | Documentation| - | :--- | :---: |-----------:| :----| - {% for dataset in datasets -%} - {{ dat_line(dataset) }} - {% endfor %} - {% endif %} - """, - ) - jinja_env = SandboxedEnvironment(undefined=StrictUndefined) - return jinja_env.from_string(template_datasets).render(**public_datasets) - - -print(_render_dataset()) diff --git a/scripts/docs/gen_ref_nav.py b/scripts/docs/gen_ref_nav.py deleted file mode 100644 index 6939e864..00000000 --- a/scripts/docs/gen_ref_nav.py +++ /dev/null @@ -1,37 +0,0 @@ -"""Generate the code reference pages and navigation.""" - -from pathlib import Path - -import mkdocs_gen_files - -nav = mkdocs_gen_files.Nav() -mod_symbol = '' - -root = Path(__file__).parent.parent -src = root / "src" - -for path in sorted(src.rglob("*.py")): - module_path = path.relative_to(src).with_suffix("") - doc_path = path.relative_to(src).with_suffix(".md") - full_doc_path = Path("reference", doc_path) - - parts = tuple(module_path.parts) - - if parts[-1] == "__init__": - parts = parts[:-1] - doc_path = doc_path.with_name("index.md") - full_doc_path = full_doc_path.with_name("index.md") - elif parts[-1].startswith("_"): - continue - - nav_parts = [f"{mod_symbol} {part}" for part in parts] - nav[tuple(nav_parts)] = doc_path.as_posix() - - with mkdocs_gen_files.open(full_doc_path, "w") as fd: - ident = ".".join(parts) - fd.write(f"---\ntitle: {ident}\n---\n\n::: {ident}") - - mkdocs_gen_files.set_edit_path(full_doc_path, ".." / path.relative_to(root)) - -with mkdocs_gen_files.open("reference/SUMMARY.md", "w") as nav_file: - nav_file.writelines(nav.build_literate_nav())