vladislavbro commited on
Commit
81f5c47
·
verified ·
1 Parent(s): d179b73

Add config from convert_d_fine_original_pytorch_checkpoint_to_hf.py

Browse files
Files changed (1) hide show
  1. config.json +6 -5
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,
@@ -79,7 +77,11 @@
79
  ],
80
  "decoder_layers": 3,
81
  "decoder_method": "default",
82
- "decoder_n_points": 4,
 
 
 
 
83
  "decoder_offset_scale": 0.5,
84
  "depth_mult": 0.34,
85
  "disable_custom_kernels": true,
@@ -296,7 +298,6 @@
296
  "positional_encoding_temperature": 10000,
297
  "reg_scale": 4.0,
298
  "top_prob_values": 4,
299
- "torch_dtype": "float32",
300
  "transformers_version": "4.50.0.dev0",
301
  "use_focal_loss": true,
302
  "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,
 
77
  ],
78
  "decoder_layers": 3,
79
  "decoder_method": "default",
80
+ "decoder_n_points": [
81
+ 3,
82
+ 6,
83
+ 3
84
+ ],
85
  "decoder_offset_scale": 0.5,
86
  "depth_mult": 0.34,
87
  "disable_custom_kernels": true,
 
298
  "positional_encoding_temperature": 10000,
299
  "reg_scale": 4.0,
300
  "top_prob_values": 4,
 
301
  "transformers_version": "4.50.0.dev0",
302
  "use_focal_loss": true,
303
  "use_pretrained_backbone": false,