|
{ |
|
"activation_dropout": 0.0, |
|
"activation_function": "relu", |
|
"architectures": [ |
|
"DeformableDetrForObjectDetection" |
|
], |
|
"attention_dropout": 0.0, |
|
"auxiliary_loss": false, |
|
"backbone": "resnet50", |
|
"bbox_cost": 5, |
|
"bbox_loss_coefficient": 5, |
|
"class_cost": 1, |
|
"d_model": 256, |
|
"decoder_attention_heads": 8, |
|
"decoder_ffn_dim": 1024, |
|
"decoder_layerdrop": 0.0, |
|
"decoder_layers": 6, |
|
"decoder_n_points": 4, |
|
"dice_loss_coefficient": 1, |
|
"dilation": false, |
|
"dropout": 0.1, |
|
"encoder_attention_heads": 8, |
|
"encoder_ffn_dim": 1024, |
|
"encoder_layerdrop": 0.0, |
|
"encoder_layers": 6, |
|
"encoder_n_points": 4, |
|
"eos_coefficient": 0.1, |
|
"giou_cost": 2, |
|
"giou_loss_coefficient": 2, |
|
"id2label": { |
|
"0": "Ad", |
|
"1": "Table", |
|
"2": "byline", |
|
"3": "caption", |
|
"4": "deck", |
|
"5": "folio", |
|
"6": "headline", |
|
"7": "illustration", |
|
"8": "jumpline", |
|
"9": "masthead", |
|
"10": "photograph", |
|
"11": "story" |
|
}, |
|
"init_std": 0.02, |
|
"init_xavier_std": 1.0, |
|
"is_encoder_decoder": true, |
|
"label2id": { |
|
"Ad": 0, |
|
"Table": 1, |
|
"byline": 2, |
|
"caption": 3, |
|
"deck": 4, |
|
"folio": 5, |
|
"headline": 6, |
|
"illustration": 7, |
|
"jumpline": 8, |
|
"masthead": 9, |
|
"photograph": 10, |
|
"story": 11 |
|
}, |
|
"mask_loss_coefficient": 1, |
|
"max_position_embeddings": 1024, |
|
"model_type": "deformable_detr", |
|
"num_feature_levels": 4, |
|
"num_queries": 300, |
|
"position_embedding_type": "sine", |
|
"return_intermediate": true, |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.16.0.dev0", |
|
"two_stage": false, |
|
"two_stage_num_proposals": 300, |
|
"with_box_refine": true |
|
} |