rishabh063
commited on
Commit
•
01fb342
1
Parent(s):
1debcc8
Create config.json
Browse files- config.json +39 -0
config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"YolosForObjectDetection"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.0,
|
6 |
+
"auxiliary_loss": false,
|
7 |
+
"bbox_cost": 5,
|
8 |
+
"bbox_loss_coefficient": 5,
|
9 |
+
"class_cost": 1,
|
10 |
+
"eos_coefficient": 0.1,
|
11 |
+
"giou_cost": 2,
|
12 |
+
"giou_loss_coefficient": 2,
|
13 |
+
"hidden_act": "gelu",
|
14 |
+
"hidden_dropout_prob": 0.0,
|
15 |
+
"hidden_size": 384,
|
16 |
+
"id2label": {
|
17 |
+
"0": "Subject",
|
18 |
+
},
|
19 |
+
"image_size": [
|
20 |
+
512,
|
21 |
+
864
|
22 |
+
],
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"intermediate_size": 1536,
|
25 |
+
"label2id": {
|
26 |
+
"Subject": 0,
|
27 |
+
},
|
28 |
+
"layer_norm_eps": 1e-12,
|
29 |
+
"model_type": "yolos",
|
30 |
+
"num_attention_heads": 6,
|
31 |
+
"num_channels": 3,
|
32 |
+
"num_detection_tokens": 100,
|
33 |
+
"num_hidden_layers": 12,
|
34 |
+
"patch_size": 16,
|
35 |
+
"qkv_bias": true,
|
36 |
+
"torch_dtype": "float32",
|
37 |
+
"transformers_version": "4.19.0.dev0",
|
38 |
+
"use_mid_position_embeddings": true
|
39 |
+
}
|