Upload 2 files
Browse files- config.json +118 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "nvidia/mit-b4",
|
3 |
+
"architectures": [
|
4 |
+
"SegformerForSemanticSegmentation"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"classifier_dropout_prob": 0.1,
|
8 |
+
"decoder_hidden_size": 768,
|
9 |
+
"depths": [
|
10 |
+
3,
|
11 |
+
8,
|
12 |
+
27,
|
13 |
+
3
|
14 |
+
],
|
15 |
+
"downsampling_rates": [
|
16 |
+
1,
|
17 |
+
4,
|
18 |
+
8,
|
19 |
+
16
|
20 |
+
],
|
21 |
+
"drop_path_rate": 0.1,
|
22 |
+
"hidden_act": "gelu",
|
23 |
+
"hidden_dropout_prob": 0.0,
|
24 |
+
"hidden_sizes": [
|
25 |
+
64,
|
26 |
+
128,
|
27 |
+
320,
|
28 |
+
512
|
29 |
+
],
|
30 |
+
"id2label": {
|
31 |
+
"0": "unlabeled",
|
32 |
+
"1": "Pizza",
|
33 |
+
"2": "Apple",
|
34 |
+
"3": "Brownie",
|
35 |
+
"4": "Lettuce",
|
36 |
+
"5": "Pasta",
|
37 |
+
"6": "Sweet Potato Fries",
|
38 |
+
"7": "Beans",
|
39 |
+
"8": "Beef",
|
40 |
+
"9": "Bread",
|
41 |
+
"10": "Cake",
|
42 |
+
"11": "Chicken",
|
43 |
+
"12": "Corn",
|
44 |
+
"13": "Green_bean",
|
45 |
+
"14": "Hot_dog_bun",
|
46 |
+
"15": "Pork",
|
47 |
+
"16": "Potato",
|
48 |
+
"17": "Rice",
|
49 |
+
"18": "Spinach",
|
50 |
+
"19": "Taco",
|
51 |
+
"20": "Plate",
|
52 |
+
"21": "jalapeno"
|
53 |
+
},
|
54 |
+
"image_size": 224,
|
55 |
+
"initializer_range": 0.02,
|
56 |
+
"label2id": {
|
57 |
+
"Apple": 2,
|
58 |
+
"Beans": 7,
|
59 |
+
"Beef": 8,
|
60 |
+
"Bread": 9,
|
61 |
+
"Brownie": 3,
|
62 |
+
"Cake": 10,
|
63 |
+
"Chicken": 11,
|
64 |
+
"Corn": 12,
|
65 |
+
"Green_bean": 13,
|
66 |
+
"Hot_dog_bun": 14,
|
67 |
+
"Lettuce": 4,
|
68 |
+
"Pasta": 5,
|
69 |
+
"Pizza": 1,
|
70 |
+
"Plate": 20,
|
71 |
+
"Pork": 15,
|
72 |
+
"Potato": 16,
|
73 |
+
"Rice": 17,
|
74 |
+
"Spinach": 18,
|
75 |
+
"Sweet Potato Fries": 6,
|
76 |
+
"Taco": 19,
|
77 |
+
"jalapeno": 21,
|
78 |
+
"unlabeled": 0
|
79 |
+
},
|
80 |
+
"layer_norm_eps": 1e-06,
|
81 |
+
"mlp_ratios": [
|
82 |
+
4,
|
83 |
+
4,
|
84 |
+
4,
|
85 |
+
4
|
86 |
+
],
|
87 |
+
"model_type": "segformer",
|
88 |
+
"num_attention_heads": [
|
89 |
+
1,
|
90 |
+
2,
|
91 |
+
5,
|
92 |
+
8
|
93 |
+
],
|
94 |
+
"num_channels": 3,
|
95 |
+
"num_encoder_blocks": 4,
|
96 |
+
"patch_sizes": [
|
97 |
+
7,
|
98 |
+
3,
|
99 |
+
3,
|
100 |
+
3
|
101 |
+
],
|
102 |
+
"reshape_last_stage": true,
|
103 |
+
"semantic_loss_ignore_index": 255,
|
104 |
+
"sr_ratios": [
|
105 |
+
8,
|
106 |
+
4,
|
107 |
+
2,
|
108 |
+
1
|
109 |
+
],
|
110 |
+
"strides": [
|
111 |
+
4,
|
112 |
+
2,
|
113 |
+
2,
|
114 |
+
2
|
115 |
+
],
|
116 |
+
"torch_dtype": "float32",
|
117 |
+
"transformers_version": "4.25.1"
|
118 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:68ddadfe00949efc6daa0a7c41446c9755d7126de482b1bb7b453600446c8374
|
3 |
+
size 256362429
|