Image Classification
Transformers
TensorBoard
Safetensors
mobilenet_v2
Generated from Trainer
Eval Results (legacy)
Instructions to use A2H0H0R1/mobilenet_v2_1.0_224-plant-disease with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use A2H0H0R1/mobilenet_v2_1.0_224-plant-disease with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="A2H0H0R1/mobilenet_v2_1.0_224-plant-disease") 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("A2H0H0R1/mobilenet_v2_1.0_224-plant-disease") model = AutoModelForImageClassification.from_pretrained("A2H0H0R1/mobilenet_v2_1.0_224-plant-disease", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 0
Browse files- config.json +105 -0
- model.safetensors +3 -0
- preprocessor_config.json +27 -0
- runs/Dec22_07-24-48_30ef304b7984/events.out.tfevents.1703229901.30ef304b7984.12268.0 +3 -0
- runs/Dec22_07-26-11_30ef304b7984/events.out.tfevents.1703229986.30ef304b7984.12268.1 +3 -0
- runs/Dec22_07-28-32_30ef304b7984/events.out.tfevents.1703230178.30ef304b7984.13462.0 +3 -0
- runs/Dec22_07-31-46_30ef304b7984/events.out.tfevents.1703230307.30ef304b7984.14401.0 +3 -0
- runs/Dec22_07-33-46_30ef304b7984/events.out.tfevents.1703230426.30ef304b7984.15087.0 +3 -0
- training_args.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "google/mobilenet_v2_1.0_224",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"MobileNetV2ForImageClassification"
|
| 5 |
+
],
|
| 6 |
+
"classifier_dropout_prob": 0.2,
|
| 7 |
+
"depth_divisible_by": 8,
|
| 8 |
+
"depth_multiplier": 1.0,
|
| 9 |
+
"expand_ratio": 6,
|
| 10 |
+
"finegrained_output": true,
|
| 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,
|
| 97 |
+
"model_type": "mobilenet_v2",
|
| 98 |
+
"num_channels": 3,
|
| 99 |
+
"output_stride": 32,
|
| 100 |
+
"problem_type": "single_label_classification",
|
| 101 |
+
"semantic_loss_ignore_index": 255,
|
| 102 |
+
"tf_padding": true,
|
| 103 |
+
"torch_dtype": "float32",
|
| 104 |
+
"transformers_version": "4.35.2"
|
| 105 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aaaa96c252b62d90806333ab7674c3cc5a8e9c672d18a949e9f6f4d33f196426
|
| 3 |
+
size 9264680
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_size": {
|
| 3 |
+
"height": 224,
|
| 4 |
+
"width": 224
|
| 5 |
+
},
|
| 6 |
+
"do_center_crop": true,
|
| 7 |
+
"do_normalize": true,
|
| 8 |
+
"do_rescale": true,
|
| 9 |
+
"do_resize": true,
|
| 10 |
+
"image_mean": [
|
| 11 |
+
0.5,
|
| 12 |
+
0.5,
|
| 13 |
+
0.5
|
| 14 |
+
],
|
| 15 |
+
"image_processor_type": "MobileNetV2ImageProcessor",
|
| 16 |
+
"image_std": [
|
| 17 |
+
0.5,
|
| 18 |
+
0.5,
|
| 19 |
+
0.5
|
| 20 |
+
],
|
| 21 |
+
"resample": 2,
|
| 22 |
+
"rescale_factor": 0.00392156862745098,
|
| 23 |
+
"size": {
|
| 24 |
+
"shortest_edge": 256
|
| 25 |
+
},
|
| 26 |
+
"use_square_size": false
|
| 27 |
+
}
|
runs/Dec22_07-24-48_30ef304b7984/events.out.tfevents.1703229901.30ef304b7984.12268.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2dd5fd2722c572717c026e97fa8a9b46dbe2b1f0555a463b7581e9a85169909b
|
| 3 |
+
size 4184
|
runs/Dec22_07-26-11_30ef304b7984/events.out.tfevents.1703229986.30ef304b7984.12268.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6afefe70d8494f4173f1f1178799fc52481a8c0523fc80c8ce7d76cb6b7ec092
|
| 3 |
+
size 4184
|
runs/Dec22_07-28-32_30ef304b7984/events.out.tfevents.1703230178.30ef304b7984.13462.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f6f020c17ba6758c433c48c7fb17e29a7a06e649fd8dd552c07033bcd0f70450
|
| 3 |
+
size 4184
|
runs/Dec22_07-31-46_30ef304b7984/events.out.tfevents.1703230307.30ef304b7984.14401.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:02c38b2f64ee0e930442cd2e769fc1070af387a9e31b23952f3ebacf12b4cf94
|
| 3 |
+
size 4184
|
runs/Dec22_07-33-46_30ef304b7984/events.out.tfevents.1703230426.30ef304b7984.15087.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8c13a406c987159f8897fc85b9e1c32af33307118a70f35c6e3bcd6dc0ece97e
|
| 3 |
+
size 9782
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f02e6fae55565341bf89d14593a5432a11c2a5646cb83539a065eb5011c252b4
|
| 3 |
+
size 4600
|