qubvel-hf's picture
qubvel-hf HF staff
Model save
7f32daa verified
raw
history blame
1.75 kB
{
"_name_or_path": "jozhang97/deta-resnet-50",
"activation_dropout": 0.0,
"activation_function": "relu",
"architectures": [
"DetaForObjectDetection"
],
"assign_first_stage": true,
"assign_second_stage": true,
"attention_dropout": 0.0,
"auxiliary_loss": false,
"backbone": null,
"backbone_config": {
"model_type": "resnet",
"out_features": [
"stage2",
"stage3",
"stage4"
],
"out_indices": [
2,
3,
4
]
},
"backbone_kwargs": null,
"bbox_cost": 5,
"bbox_loss_coefficient": 5,
"class_cost": 1,
"d_model": 256,
"decoder_attention_heads": 8,
"decoder_ffn_dim": 2048,
"decoder_layerdrop": 0.0,
"decoder_layers": 6,
"decoder_n_points": 4,
"dice_loss_coefficient": 1,
"disable_custom_kernels": true,
"dropout": 0.1,
"encoder_attention_heads": 8,
"encoder_ffn_dim": 2048,
"encoder_layerdrop": 0.0,
"encoder_layers": 6,
"encoder_n_points": 4,
"eos_coefficient": 0.1,
"focal_alpha": 0.25,
"giou_cost": 2,
"giou_loss_coefficient": 2,
"id2label": {
"0": "Coverall",
"1": "Face_Shield",
"2": "Gloves",
"3": "Goggles",
"4": "Mask"
},
"init_std": 0.02,
"init_xavier_std": 1.0,
"is_encoder_decoder": true,
"label2id": {
"Coverall": 0,
"Face_Shield": 1,
"Gloves": 2,
"Goggles": 3,
"Mask": 4
},
"mask_loss_coefficient": 1,
"max_position_embeddings": 2048,
"model_type": "deta",
"num_feature_levels": 5,
"num_queries": 900,
"position_embedding_type": "sine",
"torch_dtype": "float32",
"transformers_version": "4.41.0.dev0",
"two_stage": true,
"two_stage_num_proposals": 300,
"use_pretrained_backbone": false,
"use_timm_backbone": false,
"with_box_refine": true
}