first commit
This commit is contained in:
parent
a26147c9ed
commit
06c2b0a542
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
"_name_or_path": "hustvl/yolos-small",
|
||||
"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": "name",
|
||||
"1": "license-plates"
|
||||
},
|
||||
"image_size": [
|
||||
512,
|
||||
864
|
||||
],
|
||||
"initializer_range": 0.02,
|
||||
"intermediate_size": 1536,
|
||||
"label2id": {
|
||||
"name": 0,
|
||||
"license-plates": 1
|
||||
},
|
||||
"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.21.1",
|
||||
"use_mid_position_embeddings": true
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"do_normalize": true,
|
||||
"do_resize": true,
|
||||
"feature_extractor_type": "YolosFeatureExtractor",
|
||||
"format": "coco_detection",
|
||||
"image_mean": [
|
||||
0.485,
|
||||
0.456,
|
||||
0.406
|
||||
],
|
||||
"image_std": [
|
||||
0.229,
|
||||
0.224,
|
||||
0.225
|
||||
],
|
||||
"max_size": 864,
|
||||
"size": 512
|
||||
}
|
Binary file not shown.
Loading…
Reference in New Issue