Upload DetrForSegmentation
Browse files- config.json +81 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "../models/detr-layout-detection/",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "relu",
|
5 |
+
"architectures": [
|
6 |
+
"DetrForSegmentation"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"auxiliary_loss": false,
|
10 |
+
"backbone": "resnet50",
|
11 |
+
"backbone_config": null,
|
12 |
+
"backbone_kwargs": {
|
13 |
+
"in_chans": 3,
|
14 |
+
"out_indices": [
|
15 |
+
1,
|
16 |
+
2,
|
17 |
+
3,
|
18 |
+
4
|
19 |
+
]
|
20 |
+
},
|
21 |
+
"bbox_cost": 5,
|
22 |
+
"bbox_loss_coefficient": 5,
|
23 |
+
"class_cost": 1,
|
24 |
+
"classifier_dropout": 0.0,
|
25 |
+
"d_model": 256,
|
26 |
+
"decoder_attention_heads": 8,
|
27 |
+
"decoder_ffn_dim": 2048,
|
28 |
+
"decoder_layerdrop": 0.0,
|
29 |
+
"decoder_layers": 6,
|
30 |
+
"dice_loss_coefficient": 1,
|
31 |
+
"dilation": false,
|
32 |
+
"dropout": 0.1,
|
33 |
+
"encoder_attention_heads": 8,
|
34 |
+
"encoder_ffn_dim": 2048,
|
35 |
+
"encoder_layerdrop": 0.0,
|
36 |
+
"encoder_layers": 6,
|
37 |
+
"eos_coefficient": 0.1,
|
38 |
+
"giou_cost": 2,
|
39 |
+
"giou_loss_coefficient": 2,
|
40 |
+
"id2label": {
|
41 |
+
"0": "Caption",
|
42 |
+
"1": "Footnote",
|
43 |
+
"2": "Formula",
|
44 |
+
"3": "List-item",
|
45 |
+
"4": "Page-footer",
|
46 |
+
"5": "Page-header",
|
47 |
+
"6": "Picture",
|
48 |
+
"7": "Section-header",
|
49 |
+
"8": "Table",
|
50 |
+
"9": "Text",
|
51 |
+
"10": "Title"
|
52 |
+
},
|
53 |
+
"init_std": 0.02,
|
54 |
+
"init_xavier_std": 1.0,
|
55 |
+
"is_encoder_decoder": true,
|
56 |
+
"label2id": {
|
57 |
+
"Caption": 0,
|
58 |
+
"Footnote": 1,
|
59 |
+
"Formula": 2,
|
60 |
+
"List-item": 3,
|
61 |
+
"Page-footer": 4,
|
62 |
+
"Page-header": 5,
|
63 |
+
"Picture": 6,
|
64 |
+
"Section-header": 7,
|
65 |
+
"Table": 8,
|
66 |
+
"Text": 9,
|
67 |
+
"Title": 10
|
68 |
+
},
|
69 |
+
"mask_loss_coefficient": 1,
|
70 |
+
"max_position_embeddings": 1024,
|
71 |
+
"model_type": "detr",
|
72 |
+
"num_channels": 3,
|
73 |
+
"num_hidden_layers": 6,
|
74 |
+
"num_queries": 100,
|
75 |
+
"position_embedding_type": "sine",
|
76 |
+
"scale_embedding": false,
|
77 |
+
"torch_dtype": "float32",
|
78 |
+
"transformers_version": "4.43.1",
|
79 |
+
"use_pretrained_backbone": true,
|
80 |
+
"use_timm_backbone": true
|
81 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1117ba76748fe7574634e76b58c3e231c7bb73578157aa835c861d52afc29491
|
3 |
+
size 171845444
|