Create config.json
Browse files- config.json +28 -0
config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/detr-resnet-50",
|
3 |
+
"model_type": "detr",
|
4 |
+
"backbone": {
|
5 |
+
"name": "resnet50",
|
6 |
+
"trainable": true
|
7 |
+
},
|
8 |
+
"transformer": {
|
9 |
+
"num_layers": 6,
|
10 |
+
"activation": "relu",
|
11 |
+
"dropout": 0.1,
|
12 |
+
"dim": 2048,
|
13 |
+
"ffn_dim": 4096,
|
14 |
+
"num_heads": 8
|
15 |
+
},
|
16 |
+
"bbox_loss_coef": 5,
|
17 |
+
"giou_loss_coef": 2,
|
18 |
+
"mask_loss_coef": 1,
|
19 |
+
"dice_loss_coef": 1,
|
20 |
+
"aux_loss": false,
|
21 |
+
"image_size": 800,
|
22 |
+
"fp16": false,
|
23 |
+
"pad_token_id": 0,
|
24 |
+
"bos_token_id": 101,
|
25 |
+
"eos_token_id": 102,
|
26 |
+
"is_encoder_decoder": false,
|
27 |
+
"model_parallelism": false
|
28 |
+
}
|