add model
Browse files- config.json +46 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "hustvl/yolos-base",
|
3 |
+
"architectures": [
|
4 |
+
"YolosForObjectDetection"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"auxiliary_loss": false,
|
8 |
+
"bbox_cost": 5,
|
9 |
+
"bbox_loss_coefficient": 5,
|
10 |
+
"class_cost": 1,
|
11 |
+
"eos_coefficient": 0.1,
|
12 |
+
"giou_cost": 2,
|
13 |
+
"giou_loss_coefficient": 2,
|
14 |
+
"hidden_act": "gelu",
|
15 |
+
"hidden_dropout_prob": 0.0,
|
16 |
+
"hidden_size": 768,
|
17 |
+
"id2label": {
|
18 |
+
"0": "LABEL_0",
|
19 |
+
"1": "LABEL_1",
|
20 |
+
"2": "LABEL_2",
|
21 |
+
"3": "LABEL_3"
|
22 |
+
},
|
23 |
+
"image_size": [
|
24 |
+
800,
|
25 |
+
1344
|
26 |
+
],
|
27 |
+
"initializer_range": 0.02,
|
28 |
+
"intermediate_size": 3072,
|
29 |
+
"label2id": {
|
30 |
+
"LABEL_0": 0,
|
31 |
+
"LABEL_1": 1,
|
32 |
+
"LABEL_2": 2,
|
33 |
+
"LABEL_3": 3
|
34 |
+
},
|
35 |
+
"layer_norm_eps": 1e-12,
|
36 |
+
"model_type": "yolos",
|
37 |
+
"num_attention_heads": 12,
|
38 |
+
"num_channels": 3,
|
39 |
+
"num_detection_tokens": 100,
|
40 |
+
"num_hidden_layers": 12,
|
41 |
+
"patch_size": 16,
|
42 |
+
"qkv_bias": true,
|
43 |
+
"torch_dtype": "float32",
|
44 |
+
"transformers_version": "4.20.0",
|
45 |
+
"use_mid_position_embeddings": true
|
46 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b4fe1e02fb9ae2bacb438b74c7cc637448a5b0e8c2b090c4e92cc70eabab7ff0
|
3 |
+
size 510992985
|