vladislavbro commited on
Commit
7f8e8df
·
verified ·
1 Parent(s): aaf0d55

Add config from convert_d_fine_original_pytorch_checkpoint_to_hf.py

Browse files
Files changed (1) hide show
  1. config.json +5 -4
config.json CHANGED
@@ -1,10 +1,8 @@
1
  {
 
2
  "activation_dropout": 0.0,
3
  "activation_function": "silu",
4
  "anchor_image_size": null,
5
- "architectures": [
6
- "DFineForObjectDetection"
7
- ],
8
  "attention_dropout": 0.0,
9
  "auxiliary_loss": true,
10
  "backbone": null,
@@ -90,6 +88,7 @@
90
  256
91
  ],
92
  "decoder_layers": 3,
 
93
  "decoder_n_points": 4,
94
  "decoder_offset_scale": 0.5,
95
  "depth_mult": 0.34,
@@ -291,6 +290,8 @@
291
  "layer_norm_eps": 1e-05,
292
  "layer_scale": 1,
293
  "learn_initial_query": false,
 
 
294
  "matcher_alpha": 0.25,
295
  "matcher_bbox_cost": 5.0,
296
  "matcher_class_cost": 2.0,
@@ -304,7 +305,7 @@
304
  "positional_encoding_temperature": 10000,
305
  "reg_max": 32,
306
  "reg_scale": 4.0,
307
- "torch_dtype": "float32",
308
  "transformers_version": "4.49.0.dev0",
309
  "use_focal_loss": true,
310
  "use_pretrained_backbone": false,
 
1
  {
2
+ "_attn_implementation_autoset": true,
3
  "activation_dropout": 0.0,
4
  "activation_function": "silu",
5
  "anchor_image_size": null,
 
 
 
6
  "attention_dropout": 0.0,
7
  "auxiliary_loss": true,
8
  "backbone": null,
 
88
  256
89
  ],
90
  "decoder_layers": 3,
91
+ "decoder_method": "default",
92
  "decoder_n_points": 4,
93
  "decoder_offset_scale": 0.5,
94
  "depth_mult": 0.34,
 
290
  "layer_norm_eps": 1e-05,
291
  "layer_scale": 1,
292
  "learn_initial_query": false,
293
+ "lqe_hidden_dim": 64,
294
+ "lqe_layers": 2,
295
  "matcher_alpha": 0.25,
296
  "matcher_bbox_cost": 5.0,
297
  "matcher_class_cost": 2.0,
 
305
  "positional_encoding_temperature": 10000,
306
  "reg_max": 32,
307
  "reg_scale": 4.0,
308
+ "top_prob_values": 4,
309
  "transformers_version": "4.49.0.dev0",
310
  "use_focal_loss": true,
311
  "use_pretrained_backbone": false,