helmet_detection / config.json
gghsgn's picture
Update config.json
63bde29 verified
raw
history blame
1.08 kB
{
"_name_or_path": "gghsgn/helmet_detection",
"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": 384,
"id2label": {
"0": "DHelmet",
"1": "DNoHelmet",
"2": "P1Helmet",
"3": "P1NoHelmet",
"4": "P2NoHelmet",
"5": "motorbike"
},
"image_size": [
512,
864
],
"initializer_range": 0.02,
"intermediate_size": 1536,
"label2id": {
"DHelmet": 0,
"DNoHelmet": 1,
"P1Helmet": 2,
"P1NoHelmet": 3,
"P2NoHelmet": 4,
"motorbike": 5
},
"layer_norm_eps": 1e-12,
"model_type": "yolos",
"num_attention_heads": 6,
"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
}