WongChiang commited on
Commit
e2007ab
1 Parent(s): bc2a964

Upload DeformableDetrForObjectDetection

Browse files
Files changed (2) hide show
  1. config.json +162 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/deformable-detr-detic",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "relu",
5
+ "architectures": [
6
+ "DeformableDetrForObjectDetection"
7
+ ],
8
+ "attention_dropout": 0.0,
9
+ "auxiliary_loss": false,
10
+ "backbone": null,
11
+ "backbone_config": {
12
+ "_name_or_path": "",
13
+ "add_cross_attention": false,
14
+ "architectures": null,
15
+ "bad_words_ids": null,
16
+ "begin_suppress_tokens": null,
17
+ "bos_token_id": null,
18
+ "chunk_size_feed_forward": 0,
19
+ "cross_attention_hidden_size": null,
20
+ "decoder_start_token_id": null,
21
+ "depths": [
22
+ 3,
23
+ 4,
24
+ 6,
25
+ 3
26
+ ],
27
+ "diversity_penalty": 0.0,
28
+ "do_sample": false,
29
+ "downsample_in_first_stage": false,
30
+ "early_stopping": false,
31
+ "embedding_size": 64,
32
+ "encoder_no_repeat_ngram_size": 0,
33
+ "eos_token_id": null,
34
+ "exponential_decay_length_penalty": null,
35
+ "finetuning_task": null,
36
+ "forced_bos_token_id": null,
37
+ "forced_eos_token_id": null,
38
+ "hidden_act": "relu",
39
+ "hidden_sizes": [
40
+ 256,
41
+ 512,
42
+ 1024,
43
+ 2048
44
+ ],
45
+ "id2label": {
46
+ "0": "LABEL_0",
47
+ "1": "LABEL_1"
48
+ },
49
+ "is_decoder": false,
50
+ "is_encoder_decoder": false,
51
+ "label2id": {
52
+ "LABEL_0": 0,
53
+ "LABEL_1": 1
54
+ },
55
+ "layer_type": "bottleneck",
56
+ "length_penalty": 1.0,
57
+ "max_length": 20,
58
+ "min_length": 0,
59
+ "model_type": "resnet",
60
+ "no_repeat_ngram_size": 0,
61
+ "num_beam_groups": 1,
62
+ "num_beams": 1,
63
+ "num_channels": 3,
64
+ "num_return_sequences": 1,
65
+ "out_features": [
66
+ "stage2",
67
+ "stage3",
68
+ "stage4"
69
+ ],
70
+ "out_indices": [
71
+ 2,
72
+ 3,
73
+ 4
74
+ ],
75
+ "output_attentions": false,
76
+ "output_hidden_states": false,
77
+ "output_scores": false,
78
+ "pad_token_id": null,
79
+ "prefix": null,
80
+ "problem_type": null,
81
+ "pruned_heads": {},
82
+ "remove_invalid_values": false,
83
+ "repetition_penalty": 1.0,
84
+ "return_dict": true,
85
+ "return_dict_in_generate": false,
86
+ "sep_token_id": null,
87
+ "stage_names": [
88
+ "stem",
89
+ "stage1",
90
+ "stage2",
91
+ "stage3",
92
+ "stage4"
93
+ ],
94
+ "suppress_tokens": null,
95
+ "task_specific_params": null,
96
+ "temperature": 1.0,
97
+ "tf_legacy_loss": false,
98
+ "tie_encoder_decoder": false,
99
+ "tie_word_embeddings": true,
100
+ "tokenizer_class": null,
101
+ "top_k": 50,
102
+ "top_p": 1.0,
103
+ "torch_dtype": null,
104
+ "torchscript": false,
105
+ "typical_p": 1.0,
106
+ "use_bfloat16": false
107
+ },
108
+ "bbox_cost": 5,
109
+ "bbox_loss_coefficient": 5,
110
+ "class_cost": 1,
111
+ "d_model": 256,
112
+ "decoder_attention_heads": 8,
113
+ "decoder_ffn_dim": 1024,
114
+ "decoder_layers": 6,
115
+ "decoder_n_points": 4,
116
+ "dice_loss_coefficient": 1,
117
+ "dilation": null,
118
+ "disable_custom_kernels": false,
119
+ "dropout": 0.1,
120
+ "encoder_attention_heads": 8,
121
+ "encoder_ffn_dim": 1024,
122
+ "encoder_layerdrop": 0.0,
123
+ "encoder_layers": 6,
124
+ "encoder_n_points": 4,
125
+ "eos_coefficient": 0.1,
126
+ "focal_alpha": 0.25,
127
+ "giou_cost": 2,
128
+ "giou_loss_coefficient": 2,
129
+ "id2label": {
130
+ "0": "LABEL_0",
131
+ "1": "LABEL_1",
132
+ "2": "LABEL_2",
133
+ "3": "LABEL_3",
134
+ "4": "LABEL_4",
135
+ "5": "LABEL_5"
136
+ },
137
+ "init_std": 0.02,
138
+ "init_xavier_std": 1.0,
139
+ "is_encoder_decoder": true,
140
+ "label2id": {
141
+ "LABEL_0": 0,
142
+ "LABEL_1": 1,
143
+ "LABEL_2": 2,
144
+ "LABEL_3": 3,
145
+ "LABEL_4": 4,
146
+ "LABEL_5": 5
147
+ },
148
+ "mask_loss_coefficient": 1,
149
+ "max_position_embeddings": 1024,
150
+ "model_type": "deformable_detr",
151
+ "num_channels": 3,
152
+ "num_feature_levels": 4,
153
+ "num_queries": 300,
154
+ "position_embedding_type": "sine",
155
+ "torch_dtype": "float32",
156
+ "transformers_version": "4.32.1",
157
+ "two_stage": true,
158
+ "two_stage_num_proposals": 300,
159
+ "use_pretrained_backbone": null,
160
+ "use_timm_backbone": false,
161
+ "with_box_refine": true
162
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fca8fc967a40e22bfc092461008551a786eb542d53472e11ccc85b088f8271ad
3
+ size 164761506