Upload 2 files
Browse files- config.json +179 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,179 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/detr-resnet-50",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "relu",
|
5 |
+
"architectures": [
|
6 |
+
"DetrForObjectDetection"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"auxiliary_loss": false,
|
10 |
+
"backbone": "resnet50",
|
11 |
+
"backbone_config": null,
|
12 |
+
"backbone_kwargs": {
|
13 |
+
"in_chans": 3,
|
14 |
+
"out_indices": [
|
15 |
+
1,
|
16 |
+
2,
|
17 |
+
3,
|
18 |
+
4
|
19 |
+
]
|
20 |
+
},
|
21 |
+
"bbox_cost": 5,
|
22 |
+
"bbox_loss_coefficient": 5,
|
23 |
+
"class_cost": 1,
|
24 |
+
"classifier_dropout": 0.0,
|
25 |
+
"d_model": 256,
|
26 |
+
"decoder_attention_heads": 8,
|
27 |
+
"decoder_ffn_dim": 2048,
|
28 |
+
"decoder_layerdrop": 0.0,
|
29 |
+
"decoder_layers": 6,
|
30 |
+
"dice_loss_coefficient": 1,
|
31 |
+
"dilation": false,
|
32 |
+
"dropout": 0.1,
|
33 |
+
"encoder_attention_heads": 8,
|
34 |
+
"encoder_ffn_dim": 2048,
|
35 |
+
"encoder_layerdrop": 0.0,
|
36 |
+
"encoder_layers": 6,
|
37 |
+
"eos_coefficient": 0.1,
|
38 |
+
"giou_cost": 2,
|
39 |
+
"giou_loss_coefficient": 2,
|
40 |
+
"id2label": {
|
41 |
+
"0": "LABEL_0",
|
42 |
+
"1": "LABEL_1",
|
43 |
+
"2": "LABEL_2",
|
44 |
+
"3": "LABEL_3",
|
45 |
+
"4": "LABEL_4",
|
46 |
+
"5": "LABEL_5",
|
47 |
+
"6": "LABEL_6",
|
48 |
+
"7": "LABEL_7",
|
49 |
+
"8": "LABEL_8",
|
50 |
+
"9": "LABEL_9",
|
51 |
+
"10": "LABEL_10",
|
52 |
+
"11": "LABEL_11",
|
53 |
+
"12": "LABEL_12",
|
54 |
+
"13": "LABEL_13",
|
55 |
+
"14": "LABEL_14",
|
56 |
+
"15": "LABEL_15",
|
57 |
+
"16": "LABEL_16",
|
58 |
+
"17": "LABEL_17",
|
59 |
+
"18": "LABEL_18",
|
60 |
+
"19": "LABEL_19",
|
61 |
+
"20": "LABEL_20",
|
62 |
+
"21": "LABEL_21",
|
63 |
+
"22": "LABEL_22",
|
64 |
+
"23": "LABEL_23",
|
65 |
+
"24": "LABEL_24",
|
66 |
+
"25": "LABEL_25",
|
67 |
+
"26": "LABEL_26",
|
68 |
+
"27": "LABEL_27",
|
69 |
+
"28": "LABEL_28",
|
70 |
+
"29": "LABEL_29",
|
71 |
+
"30": "LABEL_30",
|
72 |
+
"31": "LABEL_31",
|
73 |
+
"32": "LABEL_32",
|
74 |
+
"33": "LABEL_33",
|
75 |
+
"34": "LABEL_34",
|
76 |
+
"35": "LABEL_35",
|
77 |
+
"36": "LABEL_36",
|
78 |
+
"37": "LABEL_37",
|
79 |
+
"38": "LABEL_38",
|
80 |
+
"39": "LABEL_39",
|
81 |
+
"40": "LABEL_40",
|
82 |
+
"41": "LABEL_41",
|
83 |
+
"42": "LABEL_42",
|
84 |
+
"43": "LABEL_43",
|
85 |
+
"44": "LABEL_44",
|
86 |
+
"45": "LABEL_45",
|
87 |
+
"46": "LABEL_46",
|
88 |
+
"47": "LABEL_47",
|
89 |
+
"48": "LABEL_48",
|
90 |
+
"49": "LABEL_49",
|
91 |
+
"50": "LABEL_50",
|
92 |
+
"51": "LABEL_51",
|
93 |
+
"52": "LABEL_52",
|
94 |
+
"53": "LABEL_53",
|
95 |
+
"54": "LABEL_54",
|
96 |
+
"55": "LABEL_55",
|
97 |
+
"56": "LABEL_56",
|
98 |
+
"57": "LABEL_57",
|
99 |
+
"58": "LABEL_58",
|
100 |
+
"59": "LABEL_59"
|
101 |
+
},
|
102 |
+
"init_std": 0.02,
|
103 |
+
"init_xavier_std": 1.0,
|
104 |
+
"is_encoder_decoder": true,
|
105 |
+
"label2id": {
|
106 |
+
"LABEL_0": 0,
|
107 |
+
"LABEL_1": 1,
|
108 |
+
"LABEL_10": 10,
|
109 |
+
"LABEL_11": 11,
|
110 |
+
"LABEL_12": 12,
|
111 |
+
"LABEL_13": 13,
|
112 |
+
"LABEL_14": 14,
|
113 |
+
"LABEL_15": 15,
|
114 |
+
"LABEL_16": 16,
|
115 |
+
"LABEL_17": 17,
|
116 |
+
"LABEL_18": 18,
|
117 |
+
"LABEL_19": 19,
|
118 |
+
"LABEL_2": 2,
|
119 |
+
"LABEL_20": 20,
|
120 |
+
"LABEL_21": 21,
|
121 |
+
"LABEL_22": 22,
|
122 |
+
"LABEL_23": 23,
|
123 |
+
"LABEL_24": 24,
|
124 |
+
"LABEL_25": 25,
|
125 |
+
"LABEL_26": 26,
|
126 |
+
"LABEL_27": 27,
|
127 |
+
"LABEL_28": 28,
|
128 |
+
"LABEL_29": 29,
|
129 |
+
"LABEL_3": 3,
|
130 |
+
"LABEL_30": 30,
|
131 |
+
"LABEL_31": 31,
|
132 |
+
"LABEL_32": 32,
|
133 |
+
"LABEL_33": 33,
|
134 |
+
"LABEL_34": 34,
|
135 |
+
"LABEL_35": 35,
|
136 |
+
"LABEL_36": 36,
|
137 |
+
"LABEL_37": 37,
|
138 |
+
"LABEL_38": 38,
|
139 |
+
"LABEL_39": 39,
|
140 |
+
"LABEL_4": 4,
|
141 |
+
"LABEL_40": 40,
|
142 |
+
"LABEL_41": 41,
|
143 |
+
"LABEL_42": 42,
|
144 |
+
"LABEL_43": 43,
|
145 |
+
"LABEL_44": 44,
|
146 |
+
"LABEL_45": 45,
|
147 |
+
"LABEL_46": 46,
|
148 |
+
"LABEL_47": 47,
|
149 |
+
"LABEL_48": 48,
|
150 |
+
"LABEL_49": 49,
|
151 |
+
"LABEL_5": 5,
|
152 |
+
"LABEL_50": 50,
|
153 |
+
"LABEL_51": 51,
|
154 |
+
"LABEL_52": 52,
|
155 |
+
"LABEL_53": 53,
|
156 |
+
"LABEL_54": 54,
|
157 |
+
"LABEL_55": 55,
|
158 |
+
"LABEL_56": 56,
|
159 |
+
"LABEL_57": 57,
|
160 |
+
"LABEL_58": 58,
|
161 |
+
"LABEL_59": 59,
|
162 |
+
"LABEL_6": 6,
|
163 |
+
"LABEL_7": 7,
|
164 |
+
"LABEL_8": 8,
|
165 |
+
"LABEL_9": 9
|
166 |
+
},
|
167 |
+
"mask_loss_coefficient": 1,
|
168 |
+
"max_position_embeddings": 1024,
|
169 |
+
"model_type": "detr",
|
170 |
+
"num_channels": 3,
|
171 |
+
"num_hidden_layers": 6,
|
172 |
+
"num_queries": 100,
|
173 |
+
"position_embedding_type": "sine",
|
174 |
+
"scale_embedding": false,
|
175 |
+
"torch_dtype": "float32",
|
176 |
+
"transformers_version": "4.41.0",
|
177 |
+
"use_pretrained_backbone": true,
|
178 |
+
"use_timm_backbone": true
|
179 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a9755f7ec23de8dd1cdd738537276cce0dd1449b3d6b1c2ecb1bcac652c6265e
|
3 |
+
size 166555484
|