Nana commited on
Commit
5bf6c0a
·
1 Parent(s): 90eeb00

upload config

Browse files
Files changed (1) hide show
  1. config.json +77 -0
config.json ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Nana/Plantaide",
3
+ "architectures": [
4
+ "EfficientNetB0"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "encoder_stride": 16,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "Maize_Leaf_Blight (MLB)",
13
+ "1":"Bean_Rust (BR)",
14
+ "2": "Tomato_Spider_Mite",
15
+ "3":"Bean_Angular_Leaf_Spot (ALS)",
16
+ "4":"Cassava_Brown_Streak_Disease (CBSD)",
17
+ "5":"Bean_Healthy",
18
+ "6":"Maize_Lethal_Necrosis (MLN)",
19
+ "7":"Maize_Fall_Army_Worm (FAW)",
20
+ "8":"Tomato_Mosaic_Virus",
21
+ "9":"Tomato_Early_Blight",
22
+ "10":"Cassava_Healthy",
23
+ "11":"Tomato_Bacterial_Spot",
24
+ "12":"Tomato_YellowLeaf_Curl_Virus",
25
+ "13":"Tomato_Healthy",
26
+ "14":"Maize_Healthy",
27
+ "15":"Maize_Cercospora_Leaf_Spot (CLS)",
28
+ "16":"Tomato_Target_Spot",
29
+ "17": "Tomato_Leaf_Mold",
30
+ "18": "Maize_Streak_Virus (MSV)",
31
+ "19":"Tomato_Late_Blight",
32
+ "20":"Tomato_Septoria_Leaf_Spot",
33
+ "21":"Cassava_Mosaic_Disease (CMD)"
34
+ },
35
+ "image_size": 224,
36
+ "initializer_range": 0.02,
37
+ "intermediate_size": 3072,
38
+ "label2id": {
39
+ "healthy": "0",
40
+ "mildew": "1",
41
+ "spots": "2"
42
+
43
+
44
+ "Maize_Leaf_Blight (MLB)":"0",
45
+ "Bean_Rust (BR)":"1",
46
+ "Tomato_Spider_Mite":"2",
47
+ "Bean_Angular_Leaf_Spot (ALS)" :"3",
48
+ "Cassava_Brown_Streak_Disease (CBSD)":"4",
49
+ "Bean_Healthy":"5",
50
+ "Maize_Lethal_Necrosis (MLN)":"6",
51
+ "Maize_Fall_Army_Worm (FAW)": "7",
52
+ "Tomato_Mosaic_Virus":"8",
53
+ "Tomato_Early_Blight":"9",
54
+ "Cassava_Healthy":"10",
55
+ "Tomato_Bacterial_Spot":"11",
56
+ "Tomato_YellowLeaf_Curl_Virus":"12",
57
+ "Tomato_Healthy":"13",
58
+ "Maize_Healthy":"14",
59
+ "Maize_Cercospora_Leaf_Spot (CLS)":"15",
60
+ "Tomato_Target_Spot",
61
+ "Tomato_Leaf_Mold":"17",
62
+ "Maize_Streak_Virus (MSV)":"18",
63
+ "Tomato_Late_Blight":"19",
64
+ "Tomato_Septoria_Leaf_Spot":"20",
65
+ "Cassava_Mosaic_Disease (CMD)": "21"
66
+ },
67
+ "layer_norm_eps": 1e-12,
68
+ "model_type": "vit",
69
+ "num_attention_heads": 12,
70
+ "num_channels": 3,
71
+ "num_hidden_layers": 12,
72
+ "patch_size": 16,
73
+ "problem_type": "single_label_classification",
74
+ "qkv_bias": true,
75
+ "torch_dtype": "float32",
76
+ "transformers_version": "4.28.0"
77
+ }