Spaces:
Runtime error
Runtime error
Upload 2 files
Browse files- myModel/config.json +57 -0
- myModel/pytorch_model.bin +3 -0
myModel/config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "my_model",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
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": "Pepper__bell___Bacterial_spot",
|
13 |
+
"1": "Pepper__bell___healthy",
|
14 |
+
"2": "Potato___Early_blight",
|
15 |
+
"3": "Potato___Late_blight",
|
16 |
+
"4": "Potato___healthy",
|
17 |
+
"5": "Tomato_Bacterial_spot",
|
18 |
+
"6": "Tomato_Early_blight",
|
19 |
+
"7": "Tomato_Late_blight",
|
20 |
+
"8": "Tomato_Leaf_Mold",
|
21 |
+
"9": "Tomato_Septoria_leaf_spot",
|
22 |
+
"10": "Tomato_Spider_mites_Two_spotted_spider_mite",
|
23 |
+
"11": "Tomato__Target_Spot",
|
24 |
+
"12": "Tomato__Tomato_YellowLeaf__Curl_Virus",
|
25 |
+
"13": "Tomato__Tomato_mosaic_virus",
|
26 |
+
"14": "Tomato_healthy"
|
27 |
+
},
|
28 |
+
"image_size": 224,
|
29 |
+
"initializer_range": 0.02,
|
30 |
+
"intermediate_size": 3072,
|
31 |
+
"label2id": {
|
32 |
+
"Pepper__bell___Bacterial_spot": "0",
|
33 |
+
"Pepper__bell___healthy": "1",
|
34 |
+
"Potato___Early_blight": "2",
|
35 |
+
"Potato___Late_blight": "3",
|
36 |
+
"Potato___healthy": "4",
|
37 |
+
"Tomato_Bacterial_spot": "5",
|
38 |
+
"Tomato_Early_blight": "6",
|
39 |
+
"Tomato_Late_blight": "7",
|
40 |
+
"Tomato_Leaf_Mold": "8",
|
41 |
+
"Tomato_Septoria_leaf_spot": "9",
|
42 |
+
"Tomato_Spider_mites_Two_spotted_spider_mite": "10",
|
43 |
+
"Tomato__Target_Spot": "11",
|
44 |
+
"Tomato__Tomato_YellowLeaf__Curl_Virus": "12",
|
45 |
+
"Tomato__Tomato_mosaic_virus": "13",
|
46 |
+
"Tomato_healthy": "14"
|
47 |
+
},
|
48 |
+
"layer_norm_eps": 1e-12,
|
49 |
+
"model_type": "vit",
|
50 |
+
"num_attention_heads": 12,
|
51 |
+
"num_channels": 3,
|
52 |
+
"num_hidden_layers": 12,
|
53 |
+
"patch_size": 16,
|
54 |
+
"qkv_bias": true,
|
55 |
+
"torch_dtype": "float32",
|
56 |
+
"transformers_version": "4.26.1"
|
57 |
+
}
|
myModel/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:319df356e382a14d3cee2e0c0bf21c99faaf8f3e7017ef03c20adc01dcb6cc41
|
3 |
+
size 343305965
|