Add config from convert_d_fine_original_pytorch_checkpoint_to_hf.py
Browse files- config.json +2 -8
config.json
CHANGED
@@ -1,13 +1,8 @@
|
|
1 |
{
|
|
|
2 |
"activation_dropout": 0.0,
|
3 |
"activation_function": "silu",
|
4 |
-
"anchor_image_size":
|
5 |
-
640,
|
6 |
-
640
|
7 |
-
],
|
8 |
-
"architectures": [
|
9 |
-
"DFineForObjectDetection"
|
10 |
-
],
|
11 |
"attention_dropout": 0.0,
|
12 |
"auxiliary_loss": true,
|
13 |
"backbone": null,
|
@@ -284,7 +279,6 @@
|
|
284 |
"positional_encoding_temperature": 10000,
|
285 |
"reg_scale": 4.0,
|
286 |
"top_prob_values": 4,
|
287 |
-
"torch_dtype": "float32",
|
288 |
"transformers_version": "4.50.0.dev0",
|
289 |
"use_focal_loss": true,
|
290 |
"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,
|
|
|
279 |
"positional_encoding_temperature": 10000,
|
280 |
"reg_scale": 4.0,
|
281 |
"top_prob_values": 4,
|
|
|
282 |
"transformers_version": "4.50.0.dev0",
|
283 |
"use_focal_loss": true,
|
284 |
"use_pretrained_backbone": false,
|