zeroone012012 commited on
Commit
00cfc31
1 Parent(s): 9db796e

Upload model

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