|
{ |
|
"_name_or_path": "facebook/detr-resnet-50-dc5", |
|
"activation_dropout": 0.0, |
|
"activation_function": "relu", |
|
"architectures": [ |
|
"DetrForObjectDetection" |
|
], |
|
"attention_dropout": 0.0, |
|
"auxiliary_loss": false, |
|
"backbone": "resnet50", |
|
"backbone_config": null, |
|
"backbone_kwargs": { |
|
"in_chans": 3, |
|
"out_indices": [ |
|
1, |
|
2, |
|
3, |
|
4 |
|
], |
|
"output_stride": 16 |
|
}, |
|
"bbox_cost": 5, |
|
"bbox_loss_coefficient": 5, |
|
"class_cost": 1, |
|
"classifier_dropout": 0.0, |
|
"d_model": 256, |
|
"decoder_attention_heads": 8, |
|
"decoder_ffn_dim": 2048, |
|
"decoder_layerdrop": 0.0, |
|
"decoder_layers": 6, |
|
"dice_loss_coefficient": 1, |
|
"dilation": true, |
|
"dropout": 0.1, |
|
"encoder_attention_heads": 8, |
|
"encoder_ffn_dim": 2048, |
|
"encoder_layerdrop": 0.0, |
|
"encoder_layers": 6, |
|
"eos_coefficient": 0.1, |
|
"giou_cost": 2, |
|
"giou_loss_coefficient": 2, |
|
"id2label": { |
|
"0": "caption", |
|
"1": "footnote", |
|
"2": "formula", |
|
"3": "list-item", |
|
"4": "page-footer", |
|
"5": "page-header", |
|
"6": "picture", |
|
"7": "section-header", |
|
"8": "table", |
|
"9": "text", |
|
"10": "title" |
|
}, |
|
"init_std": 0.02, |
|
"init_xavier_std": 1.0, |
|
"is_encoder_decoder": true, |
|
"label2id": { |
|
"caption": 0, |
|
"footnote": 1, |
|
"formula": 2, |
|
"list-item": 3, |
|
"page-footer": 4, |
|
"page-header": 5, |
|
"picture": 6, |
|
"section-header": 7, |
|
"table": 8, |
|
"text": 9, |
|
"title": 10 |
|
}, |
|
"mask_loss_coefficient": 1, |
|
"max_position_embeddings": 1024, |
|
"model_type": "detr", |
|
"num_channels": 3, |
|
"num_hidden_layers": 6, |
|
"num_queries": 100, |
|
"position_embedding_type": "sine", |
|
"scale_embedding": false, |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.46.2", |
|
"use_pretrained_backbone": true, |
|
"use_timm_backbone": true |
|
} |
|
|