Create config.json
Browse files- config.json +57 -0
config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_commit_hash": "480370a8aeeed9fc8d78837b4e94e5f936fe73f2",
|
3 |
+
"_name_or_path": "facebook/detr-resnet-50",
|
4 |
+
"activation_dropout": 0.0,
|
5 |
+
"activation_function": "relu",
|
6 |
+
"architectures": [
|
7 |
+
"DetrForObjectDetection"
|
8 |
+
],
|
9 |
+
"attention_dropout": 0.0,
|
10 |
+
"auxiliary_loss": false,
|
11 |
+
"backbone": "resnet50",
|
12 |
+
"backbone_config": null,
|
13 |
+
"bbox_cost": 5,
|
14 |
+
"bbox_loss_coefficient": 5,
|
15 |
+
"class_cost": 1,
|
16 |
+
"classifier_dropout": 0.0,
|
17 |
+
"d_model": 256,
|
18 |
+
"decoder_attention_heads": 8,
|
19 |
+
"decoder_ffn_dim": 2048,
|
20 |
+
"decoder_layerdrop": 0.0,
|
21 |
+
"decoder_layers": 6,
|
22 |
+
"dice_loss_coefficient": 1,
|
23 |
+
"dilation": false,
|
24 |
+
"dropout": 0.1,
|
25 |
+
"encoder_attention_heads": 8,
|
26 |
+
"encoder_ffn_dim": 2048,
|
27 |
+
"encoder_layerdrop": 0.0,
|
28 |
+
"encoder_layers": 6,
|
29 |
+
"eos_coefficient": 0.1,
|
30 |
+
"giou_cost": 2,
|
31 |
+
"giou_loss_coefficient": 2,
|
32 |
+
"id2label": {
|
33 |
+
"0": "gloves",
|
34 |
+
"1": "hardhat",
|
35 |
+
"2": "mask"
|
36 |
+
},
|
37 |
+
"init_std": 0.02,
|
38 |
+
"init_xavier_std": 1.0,
|
39 |
+
"is_encoder_decoder": true,
|
40 |
+
"label2id": {
|
41 |
+
"gloves": 0,
|
42 |
+
"hardhat": 1,
|
43 |
+
"mask": 2
|
44 |
+
},
|
45 |
+
"mask_loss_coefficient": 1,
|
46 |
+
"max_position_embeddings": 1024,
|
47 |
+
"model_type": "detr",
|
48 |
+
"num_channels": 3,
|
49 |
+
"num_hidden_layers": 6,
|
50 |
+
"num_queries": 100,
|
51 |
+
"position_embedding_type": "sine",
|
52 |
+
"scale_embedding": false,
|
53 |
+
"torch_dtype": "float32",
|
54 |
+
"transformers_version": "4.7.0.dev0",
|
55 |
+
"use_pretrained_backbone": true,
|
56 |
+
"use_timm_backbone": true
|
57 |
+
}
|