Lam-Hung commited on
Commit
d8d2695
1 Parent(s): 40e9b60

Upload DetaForObjectDetection

Browse files
Files changed (2) hide show
  1. config.json +103 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "jozhang97/deta-swin-large",
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
+ "backbone_kwargs": null,
56
+ "bbox_cost": 5,
57
+ "bbox_loss_coefficient": 5,
58
+ "class_cost": 1,
59
+ "d_model": 256,
60
+ "decoder_attention_heads": 8,
61
+ "decoder_ffn_dim": 2048,
62
+ "decoder_layerdrop": 0.0,
63
+ "decoder_layers": 6,
64
+ "decoder_n_points": 4,
65
+ "dice_loss_coefficient": 1,
66
+ "disable_custom_kernels": true,
67
+ "dropout": 0.1,
68
+ "encoder_attention_heads": 8,
69
+ "encoder_ffn_dim": 2048,
70
+ "encoder_layerdrop": 0.0,
71
+ "encoder_layers": 6,
72
+ "encoder_n_points": 4,
73
+ "eos_coefficient": 0.1,
74
+ "focal_alpha": 0.25,
75
+ "giou_cost": 2,
76
+ "giou_loss_coefficient": 2,
77
+ "id2label": {
78
+ "0": "LABEL_0",
79
+ "1": "LABEL_1",
80
+ "2": "LABEL_2"
81
+ },
82
+ "init_std": 0.02,
83
+ "init_xavier_std": 1.0,
84
+ "is_encoder_decoder": true,
85
+ "label2id": {
86
+ "LABEL_0": 0,
87
+ "LABEL_1": 1,
88
+ "LABEL_2": 2
89
+ },
90
+ "mask_loss_coefficient": 1,
91
+ "max_position_embeddings": 2048,
92
+ "model_type": "deta",
93
+ "num_feature_levels": 5,
94
+ "num_queries": 900,
95
+ "position_embedding_type": "sine",
96
+ "torch_dtype": "float32",
97
+ "transformers_version": "4.44.0.dev0",
98
+ "two_stage": true,
99
+ "two_stage_num_proposals": 900,
100
+ "use_pretrained_backbone": false,
101
+ "use_timm_backbone": false,
102
+ "with_box_refine": true
103
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd681de4ab53a9dacc3f2d4de24119e49d01c72475c00ed19fc8ef8288d1b01f
3
+ size 878553332