| { | |
| "_name_or_path": "microsoft/conditional-detr-resnet-50", | |
| "activation_dropout": 0.0, | |
| "activation_function": "relu", | |
| "architectures": [ | |
| "ConditionalDetrForObjectDetection" | |
| ], | |
| "attention_dropout": 0.0, | |
| "auxiliary_loss": false, | |
| "backbone": "resnet50", | |
| "backbone_config": null, | |
| "bbox_cost": 5, | |
| "bbox_loss_coefficient": 5, | |
| "class_cost": 2, | |
| "cls_loss_coefficient": 2, | |
| "d_model": 256, | |
| "decoder_attention_heads": 8, | |
| "decoder_ffn_dim": 2048, | |
| "decoder_layerdrop": 0.0, | |
| "decoder_layers": 6, | |
| "dice_loss_coefficient": 1, | |
| "dilation": false, | |
| "dropout": 0.1, | |
| "encoder_attention_heads": 8, | |
| "encoder_ffn_dim": 2048, | |
| "encoder_layerdrop": 0.0, | |
| "encoder_layers": 6, | |
| "focal_alpha": 0.25, | |
| "giou_cost": 2, | |
| "giou_loss_coefficient": 2, | |
| "id2label": { | |
| "0": "LABEL_0", | |
| "1": "LABEL_1", | |
| "2": "LABEL_2", | |
| "3": "LABEL_3", | |
| "4": "LABEL_4", | |
| "5": "LABEL_5", | |
| "6": "LABEL_6", | |
| "7": "LABEL_7", | |
| "8": "LABEL_8", | |
| "9": "LABEL_9", | |
| "10": "LABEL_10", | |
| "11": "LABEL_11", | |
| "12": "LABEL_12", | |
| "13": "LABEL_13", | |
| "14": "LABEL_14", | |
| "15": "LABEL_15" | |
| }, | |
| "init_std": 0.02, | |
| "init_xavier_std": 1.0, | |
| "is_encoder_decoder": true, | |
| "label2id": { | |
| "LABEL_0": 0, | |
| "LABEL_1": 1, | |
| "LABEL_10": 10, | |
| "LABEL_11": 11, | |
| "LABEL_12": 12, | |
| "LABEL_13": 13, | |
| "LABEL_14": 14, | |
| "LABEL_15": 15, | |
| "LABEL_2": 2, | |
| "LABEL_3": 3, | |
| "LABEL_4": 4, | |
| "LABEL_5": 5, | |
| "LABEL_6": 6, | |
| "LABEL_7": 7, | |
| "LABEL_8": 8, | |
| "LABEL_9": 9 | |
| }, | |
| "mask_loss_coefficient": 1, | |
| "max_position_embeddings": 1024, | |
| "model_type": "conditional_detr", | |
| "num_channels": 3, | |
| "num_hidden_layers": 6, | |
| "num_queries": 300, | |
| "position_embedding_type": "sine", | |
| "scale_embedding": false, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.36.2", | |
| "use_pretrained_backbone": true, | |
| "use_timm_backbone": true | |
| } | |