Add config from convert_relation_detr_original_pytorch_checkpoint_to_pytorch.py
Browse files- config.json +2 -5
config.json
CHANGED
@@ -1,9 +1,7 @@
|
|
1 |
{
|
|
|
2 |
"activation_dropout": 0.0,
|
3 |
"activation_function": "relu",
|
4 |
-
"architectures": [
|
5 |
-
"RelationDetrForObjectDetection"
|
6 |
-
],
|
7 |
"attention_dropout": 0.0,
|
8 |
"backbone": "resnet50",
|
9 |
"backbone_config": null,
|
@@ -231,8 +229,7 @@
|
|
231 |
"sin_cos_offset": -0.5,
|
232 |
"sin_cos_scale": 6.283185307179586,
|
233 |
"sin_cos_temperature": 10000,
|
234 |
-
"
|
235 |
-
"transformers_version": "4.48.0.dev0",
|
236 |
"two_stage_binary_cls": false,
|
237 |
"use_pretrained_backbone": false,
|
238 |
"use_timm_backbone": true
|
|
|
1 |
{
|
2 |
+
"_attn_implementation_autoset": true,
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "relu",
|
|
|
|
|
|
|
5 |
"attention_dropout": 0.0,
|
6 |
"backbone": "resnet50",
|
7 |
"backbone_config": null,
|
|
|
229 |
"sin_cos_offset": -0.5,
|
230 |
"sin_cos_scale": 6.283185307179586,
|
231 |
"sin_cos_temperature": 10000,
|
232 |
+
"transformers_version": "4.49.0.dev0",
|
|
|
233 |
"two_stage_binary_cls": false,
|
234 |
"use_pretrained_backbone": false,
|
235 |
"use_timm_backbone": true
|