TheNobody-12
commited on
Upload DetaForObjectDetection
Browse files- config.json +113 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "jozhang97/deta-swin-large-o365",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "relu",
|
5 |
+
"architectures": [
|
6 |
+
"DetaForObjectDetection"
|
7 |
+
],
|
8 |
+
"assign_first_stage": true,
|
9 |
+
"assign_second_stage": true,
|
10 |
+
"attention_dropout": 0.0,
|
11 |
+
"auxiliary_loss": true,
|
12 |
+
"backbone": null,
|
13 |
+
"backbone_config": {
|
14 |
+
"attention_probs_dropout_prob": 0.0,
|
15 |
+
"depths": [
|
16 |
+
2,
|
17 |
+
2,
|
18 |
+
18,
|
19 |
+
2
|
20 |
+
],
|
21 |
+
"drop_path_rate": 0.1,
|
22 |
+
"embed_dim": 192,
|
23 |
+
"encoder_stride": 32,
|
24 |
+
"hidden_act": "gelu",
|
25 |
+
"hidden_dropout_prob": 0.0,
|
26 |
+
"hidden_size": 1536,
|
27 |
+
"image_size": 224,
|
28 |
+
"initializer_range": 0.02,
|
29 |
+
"layer_norm_eps": 1e-05,
|
30 |
+
"mlp_ratio": 4.0,
|
31 |
+
"model_type": "swin",
|
32 |
+
"num_heads": [
|
33 |
+
6,
|
34 |
+
12,
|
35 |
+
24,
|
36 |
+
48
|
37 |
+
],
|
38 |
+
"num_layers": 4,
|
39 |
+
"out_features": [
|
40 |
+
"stage2",
|
41 |
+
"stage3",
|
42 |
+
"stage4"
|
43 |
+
],
|
44 |
+
"out_indices": [
|
45 |
+
2,
|
46 |
+
3,
|
47 |
+
4
|
48 |
+
],
|
49 |
+
"patch_size": 4,
|
50 |
+
"path_norm": true,
|
51 |
+
"qkv_bias": true,
|
52 |
+
"use_absolute_embeddings": false,
|
53 |
+
"window_size": 12
|
54 |
+
},
|
55 |
+
"bbox_cost": 5,
|
56 |
+
"bbox_loss_coefficient": 5,
|
57 |
+
"class_cost": 1,
|
58 |
+
"d_model": 256,
|
59 |
+
"decoder_attention_heads": 8,
|
60 |
+
"decoder_ffn_dim": 2048,
|
61 |
+
"decoder_layerdrop": 0.0,
|
62 |
+
"decoder_layers": 6,
|
63 |
+
"decoder_n_points": 4,
|
64 |
+
"dice_loss_coefficient": 1,
|
65 |
+
"dropout": 0.1,
|
66 |
+
"encoder_attention_heads": 8,
|
67 |
+
"encoder_ffn_dim": 2048,
|
68 |
+
"encoder_layerdrop": 0.0,
|
69 |
+
"encoder_layers": 6,
|
70 |
+
"encoder_n_points": 4,
|
71 |
+
"eos_coefficient": 0.1,
|
72 |
+
"focal_alpha": 0.25,
|
73 |
+
"giou_cost": 2,
|
74 |
+
"giou_loss_coefficient": 2,
|
75 |
+
"id2label": {
|
76 |
+
"0": "LABEL_0",
|
77 |
+
"1": "LABEL_1",
|
78 |
+
"2": "LABEL_2",
|
79 |
+
"3": "LABEL_3",
|
80 |
+
"4": "LABEL_4",
|
81 |
+
"5": "LABEL_5",
|
82 |
+
"6": "LABEL_6",
|
83 |
+
"7": "LABEL_7",
|
84 |
+
"8": "LABEL_8"
|
85 |
+
},
|
86 |
+
"init_std": 0.02,
|
87 |
+
"init_xavier_std": 1.0,
|
88 |
+
"is_encoder_decoder": true,
|
89 |
+
"label2id": {
|
90 |
+
"LABEL_0": 0,
|
91 |
+
"LABEL_1": 1,
|
92 |
+
"LABEL_2": 2,
|
93 |
+
"LABEL_3": 3,
|
94 |
+
"LABEL_4": 4,
|
95 |
+
"LABEL_5": 5,
|
96 |
+
"LABEL_6": 6,
|
97 |
+
"LABEL_7": 7,
|
98 |
+
"LABEL_8": 8
|
99 |
+
},
|
100 |
+
"mask_loss_coefficient": 1,
|
101 |
+
"max_position_embeddings": 2048,
|
102 |
+
"model_type": "deta",
|
103 |
+
"num_feature_levels": 5,
|
104 |
+
"num_queries": 900,
|
105 |
+
"position_embedding_type": "sine",
|
106 |
+
"torch_dtype": "float32",
|
107 |
+
"transformers_version": "4.38.0.dev0",
|
108 |
+
"two_stage": true,
|
109 |
+
"two_stage_num_proposals": 300,
|
110 |
+
"use_pretrained_backbone": false,
|
111 |
+
"use_timm_backbone": false,
|
112 |
+
"with_box_refine": true
|
113 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f9cebb087c6476c3a4e1320d688338c4ece2c978d14ac440d89954cea263e431
|
3 |
+
size 878596508
|