diff --git a/agml/_assets/public_datasources.json b/agml/_assets/public_datasources.json index d7c3660b..cea5e535 100644 --- a/agml/_assets/public_datasources.json +++ b/agml/_assets/public_datasources.json @@ -2502,5 +2502,45 @@ 0.20302338898181915 ] } + }, + "mango_leaf_disease_classification": { + "ml_task": "image_classification", + "ag_task": "disease_classification", + "location": { + "continent": "asia", + "country": "bangladesh" + }, + "sensor_modality": "rgb", + "real_synthetic": "real", + "platform": "handheld", + "input_data_format": "jpg", + "annotation_format": "directory_names", + "n_images": "4000", + "docs_url": "https://data.mendeley.com/datasets/hxsnvwty3r/1", + "classes": { + "0": "Anthracnose", + "1": "Bacterial_Canker", + "2": "Cutting_Weevil", + "3": "Die_Back", + "4": "Gall_Midge", + "5": "Healthy", + "6": "Powdery_Mildew", + "7": "Sooty_Mold" + }, + "external_image_sources": [], + "parent_dataset": "", + "extra_metadata": {}, + "stats": { + "mean": [ + 0.6656161465062932, + 0.6908410777008502, + 0.6897037347395488 + ], + "std": [ + 0.19750956584037743, + 0.18696074420471073, + 0.2579291888749908 + ] + } } } \ No newline at end of file diff --git a/agml/_assets/source_citations.json b/agml/_assets/source_citations.json index 2bea6b79..602d2bf6 100644 --- a/agml/_assets/source_citations.json +++ b/agml/_assets/source_citations.json @@ -266,5 +266,9 @@ "soybean_insect_classification": { "license": "CC BY 4.0", "citation": "Mignoni, Maria Eloisa (2021), “Images of Soybean Leaves”, Mendeley Data, V1, doi: 10.17632/bycbh73438.1" + }, + "mango_leaf_disease_classification": { + "license": "CC BY-NC 4.0", + "citation": "Ali, Sawkat; Ibrahim, Muhammad ; Ahmed, Sarder Iftekhar ; Nadim, Md. ; Mizanur, Mizanur Rahman; Shejunti, Maria Mehjabin ; Jabid, Taskeed (2022), “MangoLeafBD Dataset”, Mendeley Data, V1, doi: 10.17632/hxsnvwty3r.1" } } \ No newline at end of file diff --git a/agml/_internal/preprocess.py b/agml/_internal/preprocess.py index b501cb42..78cae906 100644 --- a/agml/_internal/preprocess.py +++ b/agml/_internal/preprocess.py @@ -1587,6 +1587,9 @@ def cucumber_disease_classification(self, dataset_name): def soybean_insect_classification(self, dataset_name): pass + + def mango_leaf_disease_classification(self, dataset_name): + pass if __name__ == '__main__': # Initialize program arguments.