Commit
•
8d8d601
1
Parent(s):
f6207e8
Upload DetrForObjectDetection
Browse files- config.json +57 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/detr-resnet-50",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "relu",
|
5 |
+
"architectures": [
|
6 |
+
"DetrForObjectDetection"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"auxiliary_loss": false,
|
10 |
+
"backbone": "resnet50",
|
11 |
+
"bbox_cost": 5,
|
12 |
+
"bbox_loss_coefficient": 5,
|
13 |
+
"class_cost": 1,
|
14 |
+
"d_model": 256,
|
15 |
+
"decoder_attention_heads": 8,
|
16 |
+
"decoder_ffn_dim": 2048,
|
17 |
+
"decoder_layerdrop": 0.0,
|
18 |
+
"decoder_layers": 6,
|
19 |
+
"dice_loss_coefficient": 1,
|
20 |
+
"dilation": false,
|
21 |
+
"dropout": 0.1,
|
22 |
+
"encoder_attention_heads": 8,
|
23 |
+
"encoder_ffn_dim": 2048,
|
24 |
+
"encoder_layerdrop": 0.0,
|
25 |
+
"encoder_layers": 6,
|
26 |
+
"eos_coefficient": 0.1,
|
27 |
+
"giou_cost": 2,
|
28 |
+
"giou_loss_coefficient": 2,
|
29 |
+
"id2label": {
|
30 |
+
"0": "LABEL_0",
|
31 |
+
"1": "LABEL_1",
|
32 |
+
"2": "LABEL_2",
|
33 |
+
"3": "LABEL_3",
|
34 |
+
"4": "LABEL_4"
|
35 |
+
},
|
36 |
+
"init_std": 0.02,
|
37 |
+
"init_xavier_std": 1.0,
|
38 |
+
"is_encoder_decoder": true,
|
39 |
+
"label2id": {
|
40 |
+
"LABEL_0": 0,
|
41 |
+
"LABEL_1": 1,
|
42 |
+
"LABEL_2": 2,
|
43 |
+
"LABEL_3": 3,
|
44 |
+
"LABEL_4": 4
|
45 |
+
},
|
46 |
+
"mask_loss_coefficient": 1,
|
47 |
+
"max_position_embeddings": 1024,
|
48 |
+
"model_type": "detr",
|
49 |
+
"num_channels": 3,
|
50 |
+
"num_hidden_layers": 6,
|
51 |
+
"num_queries": 100,
|
52 |
+
"position_embedding_type": "sine",
|
53 |
+
"scale_embedding": false,
|
54 |
+
"torch_dtype": "float32",
|
55 |
+
"transformers_version": "4.22.2",
|
56 |
+
"use_pretrained_backbone": true
|
57 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:08fbc078c637439cb6da656cc79e5738fba205f56a6412018a537ef0be472229
|
3 |
+
size 166616405
|