Upload validated CPU ONNX Runtime model
Browse files- README.md +3 -0
- idx_to_class.json +89 -0
- metadata.json +19 -0
- model.onnx +3 -0
- model_optimized.onnx +3 -0
README.md
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Plant Disease Detector (ONNX Runtime)
|
| 2 |
+
|
| 3 |
+
CPU ONNX Runtime export. Input `pixel_values` is NCHW float32 RGB normalized with ImageNet mean/std at 224x224. Output `logits` maps through `idx_to_class.json`.
|
idx_to_class.json
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"0": "apple_black_rot",
|
| 3 |
+
"1": "apple_cedar_apple_rust",
|
| 4 |
+
"2": "apple_healthy",
|
| 5 |
+
"3": "apple_scab",
|
| 6 |
+
"4": "blueberry_healthy",
|
| 7 |
+
"5": "bottle_gourd_anthracnose",
|
| 8 |
+
"6": "bottle_gourd_downey_mildew",
|
| 9 |
+
"7": "bottle_gourd_fresh_leaf",
|
| 10 |
+
"8": "cabbage_alternaria_leaf_spot",
|
| 11 |
+
"9": "cabbage_bacterial_spot_rot",
|
| 12 |
+
"10": "cabbage_black_rot",
|
| 13 |
+
"11": "cabbage_cabbage_aphid_colony",
|
| 14 |
+
"12": "cabbage_downy_mildew",
|
| 15 |
+
"13": "cabbage_healthy",
|
| 16 |
+
"14": "cabbage_ring_spot",
|
| 17 |
+
"15": "capsicum_bacterial_spot",
|
| 18 |
+
"16": "capsicum_healthy",
|
| 19 |
+
"17": "cauliflower_bacterial_spot_rot",
|
| 20 |
+
"18": "cauliflower_black_rot",
|
| 21 |
+
"19": "cauliflower_downy_mildew",
|
| 22 |
+
"20": "cauliflower_healthy",
|
| 23 |
+
"21": "cherry_healthy",
|
| 24 |
+
"22": "cherry_powdery_mildew",
|
| 25 |
+
"23": "chili_healthy",
|
| 26 |
+
"24": "chili_leaf_curl",
|
| 27 |
+
"25": "chili_leaf_spot",
|
| 28 |
+
"26": "chili_whitefly",
|
| 29 |
+
"27": "chili_yellowish",
|
| 30 |
+
"28": "corn_cercospora_leaf_spot_gray_leaf_spot",
|
| 31 |
+
"29": "corn_common_rust",
|
| 32 |
+
"30": "corn_gray_leaf_spot",
|
| 33 |
+
"31": "corn_healthy",
|
| 34 |
+
"32": "corn_northern_leaf_blight",
|
| 35 |
+
"33": "cucumber_anthracnose",
|
| 36 |
+
"34": "cucumber_bacterial_wilt",
|
| 37 |
+
"35": "cucumber_gummy_stem_blight",
|
| 38 |
+
"36": "cucumber_healthy_leaf",
|
| 39 |
+
"37": "grape_black_rot",
|
| 40 |
+
"38": "grape_esca",
|
| 41 |
+
"39": "grape_healthy",
|
| 42 |
+
"40": "grape_leaf_blight",
|
| 43 |
+
"41": "onion_alternaria_d",
|
| 44 |
+
"42": "onion_botrytis_leaf_blight",
|
| 45 |
+
"43": "onion_healthy",
|
| 46 |
+
"44": "onion_purple_blotch",
|
| 47 |
+
"45": "onion_virosis_d",
|
| 48 |
+
"46": "orange_haunglongbing",
|
| 49 |
+
"47": "pea_downy_mildew",
|
| 50 |
+
"48": "pea_healthy",
|
| 51 |
+
"49": "pea_leafminner",
|
| 52 |
+
"50": "pea_powder_mildew",
|
| 53 |
+
"51": "peach_bacterial_spot",
|
| 54 |
+
"52": "peach_healthy",
|
| 55 |
+
"53": "pepper_bacterial_spot",
|
| 56 |
+
"54": "pepper_bell_bacterial_spot",
|
| 57 |
+
"55": "pepper_bell_healthy",
|
| 58 |
+
"56": "pepper_healthy",
|
| 59 |
+
"57": "potato_early_blight",
|
| 60 |
+
"58": "potato_healthy",
|
| 61 |
+
"59": "potato_late_blight",
|
| 62 |
+
"60": "raspberry_healthy",
|
| 63 |
+
"61": "rice_brown_spot",
|
| 64 |
+
"62": "rice_healthy",
|
| 65 |
+
"63": "rice_hispa",
|
| 66 |
+
"64": "rice_leaf_blast",
|
| 67 |
+
"65": "soybean_healthy",
|
| 68 |
+
"66": "squash_powdery_mildew",
|
| 69 |
+
"67": "strawberry_healthy",
|
| 70 |
+
"68": "strawberry_leaf_scorch",
|
| 71 |
+
"69": "tomato_bacterial_spot",
|
| 72 |
+
"70": "tomato_early_blight",
|
| 73 |
+
"71": "tomato_healthy",
|
| 74 |
+
"72": "tomato_late_blight",
|
| 75 |
+
"73": "tomato_leaf_mold",
|
| 76 |
+
"74": "tomato_mosaic_virus",
|
| 77 |
+
"75": "tomato_septoria_leaf_spot",
|
| 78 |
+
"76": "tomato_spider_mites",
|
| 79 |
+
"77": "tomato_spider_mites_two_spotted_spider_mite",
|
| 80 |
+
"78": "tomato_target_spot",
|
| 81 |
+
"79": "tomato_yellow_leaf_curl_virus",
|
| 82 |
+
"80": "wheat_black_rust",
|
| 83 |
+
"81": "wheat_brown_rust",
|
| 84 |
+
"82": "wheat_healthy",
|
| 85 |
+
"83": "wheat_leaf_blight",
|
| 86 |
+
"84": "wheat_mildew",
|
| 87 |
+
"85": "wheat_mite",
|
| 88 |
+
"86": "wheat_septoria"
|
| 89 |
+
}
|
metadata.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"runtime": "onnxruntime",
|
| 3 |
+
"device": "CPUExecutionProvider",
|
| 4 |
+
"input": "pixel_values",
|
| 5 |
+
"shape": [
|
| 6 |
+
1,
|
| 7 |
+
3,
|
| 8 |
+
224,
|
| 9 |
+
224
|
| 10 |
+
],
|
| 11 |
+
"max_abs_parity_error": 3.337860107421875e-06,
|
| 12 |
+
"mean_latency_ms": 99.22062500008906,
|
| 13 |
+
"p95_latency_ms": 111.90600999834714,
|
| 14 |
+
"image_test": {
|
| 15 |
+
"image": "D:\\Robotics-Project\\Project AI Plant Disease Detector\\data\\raw\\PlantDoc\\TEST\\northern-highbush-blueberry-blue-huckleberry-vaccinium-corymbosum-EHNXRR.jpg",
|
| 16 |
+
"predicted_index": 68,
|
| 17 |
+
"confidence": 0.8059511780738831
|
| 18 |
+
}
|
| 19 |
+
}
|
model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cb4af327f027a477f806d4d04ea6aee04d5d327cfedd5f60e528018c3463238f
|
| 3 |
+
size 9318759
|
model_optimized.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0ed658ec22152ea4ac40d701a5398a5d8b592b2832c382b7d98e746d020b8067
|
| 3 |
+
size 9297992
|