detrSubject / config.json
rishabh063's picture
Create config.json
01fb342 verified
raw
history blame
826 Bytes
{
"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": "Subject",
},
"image_size": [
512,
864
],
"initializer_range": 0.02,
"intermediate_size": 1536,
"label2id": {
"Subject": 0,
},
"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.19.0.dev0",
"use_mid_position_embeddings": true
}