tes / config.json
gghsgn's picture
Update config.json
f0076a2 verified
raw
history blame
1.11 kB
{
"_name_or_path": "hustvl/yolos-tiny",
"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": 192,
"id2label": {
"0": "DHelmet",
"1": "DNoHelmet",
"2": "P1Helmet",
"3": "P1NoHelmet",
"4": "P2NoHelmet",
"5": "motorbike",
"6": "P2Helmet"
},
"image_size": [
800,
1333
],
"initializer_range": 0.02,
"intermediate_size": 768,
"label2id": {
"DHelmet": 0,
"DNoHelmet": 1,
"P1Helmet": 2,
"P1NoHelmet": 3,
"P2NoHelmet": 4,
"motorbike": 5,
"P2Helmet": 6
},
"layer_norm_eps": 1e-12,
"model_type": "yolos",
"num_attention_heads": 3,
"num_channels": 3,
"num_detection_tokens": 100,
"num_hidden_layers": 12,
"patch_size": 16,
"qkv_bias": true,
"torch_dtype": "float32",
"transformers_version": "4.23.1",
"use_mid_position_embeddings": false
}