Spaces:
Runtime error
Runtime error
new model
Browse files- my_model/config.json +74 -0
- my_model/pytorch_model.bin +3 -0
my_model/config.json
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/resnet-50",
|
3 |
+
"architectures": [
|
4 |
+
"ResNetForImageClassification"
|
5 |
+
],
|
6 |
+
"depths": [
|
7 |
+
3,
|
8 |
+
4,
|
9 |
+
6,
|
10 |
+
3
|
11 |
+
],
|
12 |
+
"downsample_in_first_stage": false,
|
13 |
+
"embedding_size": 64,
|
14 |
+
"hidden_act": "relu",
|
15 |
+
"hidden_sizes": [
|
16 |
+
256,
|
17 |
+
512,
|
18 |
+
1024,
|
19 |
+
2048
|
20 |
+
],
|
21 |
+
"id2label": {
|
22 |
+
"0": "Pepper__bell___Bacterial_spot",
|
23 |
+
"1": "Pepper__bell___healthy",
|
24 |
+
"10": "Tomato_Spider_mites_Two_spotted_spider_mite",
|
25 |
+
"11": "Tomato__Target_Spot",
|
26 |
+
"12": "Tomato__Tomato_YellowLeaf__Curl_Virus",
|
27 |
+
"13": "Tomato__Tomato_mosaic_virus",
|
28 |
+
"14": "Tomato_healthy",
|
29 |
+
"2": "Potato___Early_blight",
|
30 |
+
"3": "Potato___Late_blight",
|
31 |
+
"4": "Potato___healthy",
|
32 |
+
"5": "Tomato_Bacterial_spot",
|
33 |
+
"6": "Tomato_Early_blight",
|
34 |
+
"7": "Tomato_Late_blight",
|
35 |
+
"8": "Tomato_Leaf_Mold",
|
36 |
+
"9": "Tomato_Septoria_leaf_spot"
|
37 |
+
},
|
38 |
+
"label2id": {
|
39 |
+
"Pepper__bell___Bacterial_spot": "0",
|
40 |
+
"Pepper__bell___healthy": "1",
|
41 |
+
"Potato___Early_blight": "2",
|
42 |
+
"Potato___Late_blight": "3",
|
43 |
+
"Potato___healthy": "4",
|
44 |
+
"Tomato_Bacterial_spot": "5",
|
45 |
+
"Tomato_Early_blight": "6",
|
46 |
+
"Tomato_Late_blight": "7",
|
47 |
+
"Tomato_Leaf_Mold": "8",
|
48 |
+
"Tomato_Septoria_leaf_spot": "9",
|
49 |
+
"Tomato_Spider_mites_Two_spotted_spider_mite": "10",
|
50 |
+
"Tomato__Target_Spot": "11",
|
51 |
+
"Tomato__Tomato_YellowLeaf__Curl_Virus": "12",
|
52 |
+
"Tomato__Tomato_mosaic_virus": "13",
|
53 |
+
"Tomato_healthy": "14"
|
54 |
+
},
|
55 |
+
"layer_type": "bottleneck",
|
56 |
+
"model_type": "resnet",
|
57 |
+
"num_channels": 3,
|
58 |
+
"out_features": [
|
59 |
+
"stage4"
|
60 |
+
],
|
61 |
+
"out_indices": [
|
62 |
+
4
|
63 |
+
],
|
64 |
+
"problem_type": "single_label_classification",
|
65 |
+
"stage_names": [
|
66 |
+
"stem",
|
67 |
+
"stage1",
|
68 |
+
"stage2",
|
69 |
+
"stage3",
|
70 |
+
"stage4"
|
71 |
+
],
|
72 |
+
"torch_dtype": "float32",
|
73 |
+
"transformers_version": "4.30.2"
|
74 |
+
}
|
my_model/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:779dd0345af31358632fffc1dbf6e93bdd68ffe3a393109ab96b3aa3636b8176
|
3 |
+
size 94481549
|