GLITCH-08 commited on
Commit
1f66be6
·
verified ·
1 Parent(s): c7faddc

Upload 3 files

Browse files
Files changed (3) hide show
  1. config.json +121 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +22 -0
config.json ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "SanketJadhav/PlantDiseaseClassifier-Resnet50",
3
+ "architectures": [
4
+ "ResNetForImageClassification"
5
+ ],
6
+ "depths": [
7
+ 3,
8
+ 4,
9
+ 6,
10
+ 3
11
+ ],
12
+ "downsample_in_bottleneck": false,
13
+ "downsample_in_first_stage": false,
14
+ "embedding_size": 64,
15
+ "hidden_act": "relu",
16
+ "hidden_sizes": [
17
+ 256,
18
+ 512,
19
+ 1024,
20
+ 2048
21
+ ],
22
+ "id2label": {
23
+ "0": "Apple___Apple_scab",
24
+ "1": "Apple___Black_rot",
25
+ "2": "Apple___Cedar_apple_rust",
26
+ "3": "Apple___healthy",
27
+ "4": "Blueberry___healthy",
28
+ "5": "Cherry_(including_sour)___Powdery_mildew",
29
+ "6": "Cherry_(including_sour)___healthy",
30
+ "7": "Corn_(maize)___Cercospora_leaf_spot Gray_leaf_spot",
31
+ "8": "Corn_(maize)___Common_rust_",
32
+ "9": "Corn_(maize)___Northern_Leaf_Blight",
33
+ "10": "Corn_(maize)___healthy",
34
+ "11": "Grape___Black_rot",
35
+ "12": "Grape___Esca_(Black_Measles)",
36
+ "13": "Grape___Leaf_blight_(Isariopsis_Leaf_Spot)",
37
+ "14": "Grape___healthy",
38
+ "15": "Orange___Haunglongbing_(Citrus_greening)",
39
+ "16": "Peach___Bacterial_spot",
40
+ "17": "Peach___healthy",
41
+ "18": "Pepper,_bell___Bacterial_spot",
42
+ "19": "Pepper,_bell___healthy",
43
+ "20": "Potato___Early_blight",
44
+ "21": "Potato___Late_blight",
45
+ "22": "Potato___healthy",
46
+ "23": "Raspberry___healthy",
47
+ "24": "Soybean___healthy",
48
+ "25": "Squash___Powdery_mildew",
49
+ "26": "Strawberry___Leaf_scorch",
50
+ "27": "Strawberry___healthy",
51
+ "28": "Tomato___Bacterial_spot",
52
+ "29": "Tomato___Early_blight",
53
+ "30": "Tomato___Late_blight",
54
+ "31": "Tomato___Leaf_Mold",
55
+ "32": "Tomato___Septoria_leaf_spot",
56
+ "33": "Tomato___Spider_mites Two-spotted_spider_mite",
57
+ "34": "Tomato___Target_Spot",
58
+ "35": "Tomato___Tomato_Yellow_Leaf_Curl_Virus",
59
+ "36": "Tomato___Tomato_mosaic_virus",
60
+ "37": "Tomato___healthy"
61
+ },
62
+ "label2id": {
63
+ "Apple___Apple_scab": 0,
64
+ "Apple___Black_rot": 1,
65
+ "Apple___Cedar_apple_rust": 2,
66
+ "Apple___healthy": 3,
67
+ "Blueberry___healthy": 4,
68
+ "Cherry_(including_sour)___Powdery_mildew": 5,
69
+ "Cherry_(including_sour)___healthy": 6,
70
+ "Corn_(maize)___Cercospora_leaf_spot Gray_leaf_spot": 7,
71
+ "Corn_(maize)___Common_rust_": 8,
72
+ "Corn_(maize)___Northern_Leaf_Blight": 9,
73
+ "Corn_(maize)___healthy": 10,
74
+ "Grape___Black_rot": 11,
75
+ "Grape___Esca_(Black_Measles)": 12,
76
+ "Grape___Leaf_blight_(Isariopsis_Leaf_Spot)": 13,
77
+ "Grape___healthy": 14,
78
+ "Orange___Haunglongbing_(Citrus_greening)": 15,
79
+ "Peach___Bacterial_spot": 16,
80
+ "Peach___healthy": 17,
81
+ "Pepper,_bell___Bacterial_spot": 18,
82
+ "Pepper,_bell___healthy": 19,
83
+ "Potato___Early_blight": 20,
84
+ "Potato___Late_blight": 21,
85
+ "Potato___healthy": 22,
86
+ "Raspberry___healthy": 23,
87
+ "Soybean___healthy": 24,
88
+ "Squash___Powdery_mildew": 25,
89
+ "Strawberry___Leaf_scorch": 26,
90
+ "Strawberry___healthy": 27,
91
+ "Tomato___Bacterial_spot": 28,
92
+ "Tomato___Early_blight": 29,
93
+ "Tomato___Late_blight": 30,
94
+ "Tomato___Leaf_Mold": 31,
95
+ "Tomato___Septoria_leaf_spot": 32,
96
+ "Tomato___Spider_mites Two-spotted_spider_mite": 33,
97
+ "Tomato___Target_Spot": 34,
98
+ "Tomato___Tomato_Yellow_Leaf_Curl_Virus": 35,
99
+ "Tomato___Tomato_mosaic_virus": 36,
100
+ "Tomato___healthy": 37
101
+ },
102
+ "layer_type": "bottleneck",
103
+ "model_type": "resnet",
104
+ "num_channels": 3,
105
+ "out_features": [
106
+ "stage4"
107
+ ],
108
+ "out_indices": [
109
+ 4
110
+ ],
111
+ "problem_type": "single_label_classification",
112
+ "stage_names": [
113
+ "stem",
114
+ "stage1",
115
+ "stage2",
116
+ "stage3",
117
+ "stage4"
118
+ ],
119
+ "torch_dtype": "float32",
120
+ "transformers_version": "4.42.4"
121
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dae1b37f3095cf6446bbaaaee58e524ab755944ffa22da9954e90d0b7af3be33
3
+ size 94598072
preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_pct": 0.875,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.485,
8
+ 0.456,
9
+ 0.406
10
+ ],
11
+ "image_processor_type": "ConvNextFeatureExtractor",
12
+ "image_std": [
13
+ 0.229,
14
+ 0.224,
15
+ 0.225
16
+ ],
17
+ "resample": 3,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "shortest_edge": 224
21
+ }
22
+ }