nickmuchi's picture
Update config.json
5b99479
{
"_name_or_path": "hustvl/yolos-base",
"architectures": [
"YolosForObjectDetection"
],
"attention_probs_dropout_prob": 0.0,
"auxiliary_loss": false,
"bbox_cost": 5,
"bbox_loss_coefficient": 5,
"class_cost": 1,
"eos_coefficient": 0.1,
"giou_cost": 2,
"giou_loss_coefficient": 2,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.0,
"hidden_size": 768,
"id2label": {
"0": "Masks",
"1": "mask_not_worn_correctly",
"2": "with_mask",
"3": "without_mask"
},
"image_size": [
800,
1344
],
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"Masks": 0,
"mask_not_worn_correctly": 1,
"with_mask": 2,
"without_mask": 3
},
"layer_norm_eps": 1e-12,
"model_type": "yolos",
"num_attention_heads": 12,
"num_channels": 3,
"num_detection_tokens": 100,
"num_hidden_layers": 12,
"patch_size": 16,
"qkv_bias": true,
"torch_dtype": "float32",
"transformers_version": "4.20.0",
"use_mid_position_embeddings": true
}