Image Classification
Transformers
TensorBoard
Safetensors
mobilenet_v2
Generated from Trainer
Eval Results (legacy)
Instructions to use ozair23/mobilenet_v2_1.0_224-finetuned-plantdisease with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ozair23/mobilenet_v2_1.0_224-finetuned-plantdisease with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ozair23/mobilenet_v2_1.0_224-finetuned-plantdisease") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("ozair23/mobilenet_v2_1.0_224-finetuned-plantdisease") model = AutoModelForImageClassification.from_pretrained("ozair23/mobilenet_v2_1.0_224-finetuned-plantdisease", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 0
Browse files
config.json
CHANGED
|
@@ -11,40 +11,86 @@
|
|
| 11 |
"first_layer_is_expansion": true,
|
| 12 |
"hidden_act": "relu6",
|
| 13 |
"id2label": {
|
| 14 |
-
"0": "
|
| 15 |
-
"1": "
|
| 16 |
-
"2": "
|
| 17 |
-
"3": "
|
| 18 |
-
"4": "
|
| 19 |
-
"5": "
|
| 20 |
-
"6": "
|
| 21 |
-
"7": "
|
| 22 |
-
"8": "
|
| 23 |
-
"9": "
|
| 24 |
-
"10": "
|
| 25 |
-
"11": "
|
| 26 |
-
"12": "
|
| 27 |
-
"13": "
|
| 28 |
-
"14": "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
},
|
| 30 |
"image_size": 224,
|
| 31 |
"initializer_range": 0.02,
|
| 32 |
"label2id": {
|
| 33 |
-
"
|
| 34 |
-
"
|
| 35 |
-
"
|
| 36 |
-
"
|
| 37 |
-
"
|
| 38 |
-
"
|
| 39 |
-
"
|
| 40 |
-
"
|
| 41 |
-
"
|
| 42 |
-
"
|
| 43 |
-
"
|
| 44 |
-
"
|
| 45 |
-
"
|
| 46 |
-
"
|
| 47 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
},
|
| 49 |
"layer_norm_eps": 0.001,
|
| 50 |
"min_depth": 8,
|
|
|
|
| 11 |
"first_layer_is_expansion": true,
|
| 12 |
"hidden_act": "relu6",
|
| 13 |
"id2label": {
|
| 14 |
+
"0": "Apple___Apple_scab",
|
| 15 |
+
"1": "Apple___Black_rot",
|
| 16 |
+
"2": "Apple___Cedar_apple_rust",
|
| 17 |
+
"3": "Apple___healthy",
|
| 18 |
+
"4": "Blueberry___healthy",
|
| 19 |
+
"5": "Cherry_(including_sour)___Powdery_mildew",
|
| 20 |
+
"6": "Cherry_(including_sour)___healthy",
|
| 21 |
+
"7": "Corn_(maize)___Cercospora_leaf_spot Gray_leaf_spot",
|
| 22 |
+
"8": "Corn_(maize)___Common_rust_",
|
| 23 |
+
"9": "Corn_(maize)___Northern_Leaf_Blight",
|
| 24 |
+
"10": "Corn_(maize)___healthy",
|
| 25 |
+
"11": "Grape___Black_rot",
|
| 26 |
+
"12": "Grape___Esca_(Black_Measles)",
|
| 27 |
+
"13": "Grape___Leaf_blight_(Isariopsis_Leaf_Spot)",
|
| 28 |
+
"14": "Grape___healthy",
|
| 29 |
+
"15": "Orange___Haunglongbing_(Citrus_greening)",
|
| 30 |
+
"16": "Peach___Bacterial_spot",
|
| 31 |
+
"17": "Peach___healthy",
|
| 32 |
+
"18": "Pepper,_bell___Bacterial_spot",
|
| 33 |
+
"19": "Pepper,_bell___healthy",
|
| 34 |
+
"20": "Potato___Early_blight",
|
| 35 |
+
"21": "Potato___Late_blight",
|
| 36 |
+
"22": "Potato___healthy",
|
| 37 |
+
"23": "Raspberry___healthy",
|
| 38 |
+
"24": "Soybean___healthy",
|
| 39 |
+
"25": "Squash___Powdery_mildew",
|
| 40 |
+
"26": "Strawberry___Leaf_scorch",
|
| 41 |
+
"27": "Strawberry___healthy",
|
| 42 |
+
"28": "Tomato___Bacterial_spot",
|
| 43 |
+
"29": "Tomato___Early_blight",
|
| 44 |
+
"30": "Tomato___Late_blight",
|
| 45 |
+
"31": "Tomato___Leaf_Mold",
|
| 46 |
+
"32": "Tomato___Septoria_leaf_spot",
|
| 47 |
+
"33": "Tomato___Spider_mites Two-spotted_spider_mite",
|
| 48 |
+
"34": "Tomato___Target_Spot",
|
| 49 |
+
"35": "Tomato___Tomato_Yellow_Leaf_Curl_Virus",
|
| 50 |
+
"36": "Tomato___Tomato_mosaic_virus",
|
| 51 |
+
"37": "Tomato___healthy"
|
| 52 |
},
|
| 53 |
"image_size": 224,
|
| 54 |
"initializer_range": 0.02,
|
| 55 |
"label2id": {
|
| 56 |
+
"Apple___Apple_scab": 0,
|
| 57 |
+
"Apple___Black_rot": 1,
|
| 58 |
+
"Apple___Cedar_apple_rust": 2,
|
| 59 |
+
"Apple___healthy": 3,
|
| 60 |
+
"Blueberry___healthy": 4,
|
| 61 |
+
"Cherry_(including_sour)___Powdery_mildew": 5,
|
| 62 |
+
"Cherry_(including_sour)___healthy": 6,
|
| 63 |
+
"Corn_(maize)___Cercospora_leaf_spot Gray_leaf_spot": 7,
|
| 64 |
+
"Corn_(maize)___Common_rust_": 8,
|
| 65 |
+
"Corn_(maize)___Northern_Leaf_Blight": 9,
|
| 66 |
+
"Corn_(maize)___healthy": 10,
|
| 67 |
+
"Grape___Black_rot": 11,
|
| 68 |
+
"Grape___Esca_(Black_Measles)": 12,
|
| 69 |
+
"Grape___Leaf_blight_(Isariopsis_Leaf_Spot)": 13,
|
| 70 |
+
"Grape___healthy": 14,
|
| 71 |
+
"Orange___Haunglongbing_(Citrus_greening)": 15,
|
| 72 |
+
"Peach___Bacterial_spot": 16,
|
| 73 |
+
"Peach___healthy": 17,
|
| 74 |
+
"Pepper,_bell___Bacterial_spot": 18,
|
| 75 |
+
"Pepper,_bell___healthy": 19,
|
| 76 |
+
"Potato___Early_blight": 20,
|
| 77 |
+
"Potato___Late_blight": 21,
|
| 78 |
+
"Potato___healthy": 22,
|
| 79 |
+
"Raspberry___healthy": 23,
|
| 80 |
+
"Soybean___healthy": 24,
|
| 81 |
+
"Squash___Powdery_mildew": 25,
|
| 82 |
+
"Strawberry___Leaf_scorch": 26,
|
| 83 |
+
"Strawberry___healthy": 27,
|
| 84 |
+
"Tomato___Bacterial_spot": 28,
|
| 85 |
+
"Tomato___Early_blight": 29,
|
| 86 |
+
"Tomato___Late_blight": 30,
|
| 87 |
+
"Tomato___Leaf_Mold": 31,
|
| 88 |
+
"Tomato___Septoria_leaf_spot": 32,
|
| 89 |
+
"Tomato___Spider_mites Two-spotted_spider_mite": 33,
|
| 90 |
+
"Tomato___Target_Spot": 34,
|
| 91 |
+
"Tomato___Tomato_Yellow_Leaf_Curl_Virus": 35,
|
| 92 |
+
"Tomato___Tomato_mosaic_virus": 36,
|
| 93 |
+
"Tomato___healthy": 37
|
| 94 |
},
|
| 95 |
"layer_norm_eps": 0.001,
|
| 96 |
"min_depth": 8,
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4e92f217580054eef5e3b9511c65241afc07fce6df1901e84a2a99a5f5f414db
|
| 3 |
+
size 9264680
|
runs/Nov10_02-29-57_986a29b10d63/events.out.tfevents.1731205834.986a29b10d63.2306.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c7f0cc0eee86dc771c1b0d3892365d55734b76eaf875b4f9d061467202436f0d
|
| 3 |
+
size 23906
|
runs/Nov10_02-29-57_986a29b10d63/events.out.tfevents.1731206075.986a29b10d63.2306.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:258c5b2773d433a352ca9e5fbd8a75fbe7c4192d6a1cd04b17c4cbd819939f47
|
| 3 |
+
size 32251
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5240
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:662500cd794165bf926cf1779853e3cd3d015ec1d98a8885161ef6aa60e75704
|
| 3 |
size 5240
|