Commit
•
bf798a6
1
Parent(s):
3f622ab
End of training
Browse files
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
checkpoint-*/
|
config.json
ADDED
@@ -0,0 +1,184 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/layoutlmv2-base-uncased",
|
3 |
+
"architectures": [
|
4 |
+
"LayoutLMv2ForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"convert_sync_batchnorm": true,
|
8 |
+
"coordinate_size": 128,
|
9 |
+
"detectron2_config_args": {
|
10 |
+
"MODEL.ANCHOR_GENERATOR.SIZES": [
|
11 |
+
[
|
12 |
+
32
|
13 |
+
],
|
14 |
+
[
|
15 |
+
64
|
16 |
+
],
|
17 |
+
[
|
18 |
+
128
|
19 |
+
],
|
20 |
+
[
|
21 |
+
256
|
22 |
+
],
|
23 |
+
[
|
24 |
+
512
|
25 |
+
]
|
26 |
+
],
|
27 |
+
"MODEL.BACKBONE.NAME": "build_resnet_fpn_backbone",
|
28 |
+
"MODEL.FPN.IN_FEATURES": [
|
29 |
+
"res2",
|
30 |
+
"res3",
|
31 |
+
"res4",
|
32 |
+
"res5"
|
33 |
+
],
|
34 |
+
"MODEL.MASK_ON": true,
|
35 |
+
"MODEL.PIXEL_STD": [
|
36 |
+
57.375,
|
37 |
+
57.12,
|
38 |
+
58.395
|
39 |
+
],
|
40 |
+
"MODEL.POST_NMS_TOPK_TEST": 1000,
|
41 |
+
"MODEL.RESNETS.ASPECT_RATIOS": [
|
42 |
+
[
|
43 |
+
0.5,
|
44 |
+
1.0,
|
45 |
+
2.0
|
46 |
+
]
|
47 |
+
],
|
48 |
+
"MODEL.RESNETS.DEPTH": 101,
|
49 |
+
"MODEL.RESNETS.NUM_GROUPS": 32,
|
50 |
+
"MODEL.RESNETS.OUT_FEATURES": [
|
51 |
+
"res2",
|
52 |
+
"res3",
|
53 |
+
"res4",
|
54 |
+
"res5"
|
55 |
+
],
|
56 |
+
"MODEL.RESNETS.SIZES": [
|
57 |
+
[
|
58 |
+
32
|
59 |
+
],
|
60 |
+
[
|
61 |
+
64
|
62 |
+
],
|
63 |
+
[
|
64 |
+
128
|
65 |
+
],
|
66 |
+
[
|
67 |
+
256
|
68 |
+
],
|
69 |
+
[
|
70 |
+
512
|
71 |
+
]
|
72 |
+
],
|
73 |
+
"MODEL.RESNETS.STRIDE_IN_1X1": false,
|
74 |
+
"MODEL.RESNETS.WIDTH_PER_GROUP": 8,
|
75 |
+
"MODEL.ROI_BOX_HEAD.NAME": "FastRCNNConvFCHead",
|
76 |
+
"MODEL.ROI_BOX_HEAD.NUM_FC": 2,
|
77 |
+
"MODEL.ROI_BOX_HEAD.POOLER_RESOLUTION": 14,
|
78 |
+
"MODEL.ROI_HEADS.IN_FEATURES": [
|
79 |
+
"p2",
|
80 |
+
"p3",
|
81 |
+
"p4",
|
82 |
+
"p5"
|
83 |
+
],
|
84 |
+
"MODEL.ROI_HEADS.NAME": "StandardROIHeads",
|
85 |
+
"MODEL.ROI_HEADS.NUM_CLASSES": 5,
|
86 |
+
"MODEL.ROI_MASK_HEAD.NAME": "MaskRCNNConvUpsampleHead",
|
87 |
+
"MODEL.ROI_MASK_HEAD.NUM_CONV": 4,
|
88 |
+
"MODEL.ROI_MASK_HEAD.POOLER_RESOLUTION": 7,
|
89 |
+
"MODEL.RPN.IN_FEATURES": [
|
90 |
+
"p2",
|
91 |
+
"p3",
|
92 |
+
"p4",
|
93 |
+
"p5",
|
94 |
+
"p6"
|
95 |
+
],
|
96 |
+
"MODEL.RPN.POST_NMS_TOPK_TRAIN": 1000,
|
97 |
+
"MODEL.RPN.PRE_NMS_TOPK_TEST": 1000,
|
98 |
+
"MODEL.RPN.PRE_NMS_TOPK_TRAIN": 2000
|
99 |
+
},
|
100 |
+
"fast_qkv": true,
|
101 |
+
"gradient_checkpointing": false,
|
102 |
+
"has_relative_attention_bias": true,
|
103 |
+
"has_spatial_attention_bias": true,
|
104 |
+
"has_visual_segment_embedding": false,
|
105 |
+
"hidden_act": "gelu",
|
106 |
+
"hidden_dropout_prob": 0.1,
|
107 |
+
"hidden_size": 768,
|
108 |
+
"id2label": {
|
109 |
+
"0": "menu.nm",
|
110 |
+
"1": "menu.cnt",
|
111 |
+
"2": "menu.itemsubtotal",
|
112 |
+
"3": "total.menutype_cnt",
|
113 |
+
"4": "menu.sub_cnt",
|
114 |
+
"5": "menu.sub_nm",
|
115 |
+
"6": "total.menuqty_cnt",
|
116 |
+
"7": "menu.sub_price",
|
117 |
+
"8": "menu.discountprice",
|
118 |
+
"9": "total.changeprice",
|
119 |
+
"10": "total.emoneyprice",
|
120 |
+
"11": "sub_total.discount_price",
|
121 |
+
"12": "menu.unitprice",
|
122 |
+
"13": "menu.price",
|
123 |
+
"14": "total.cashprice",
|
124 |
+
"15": "sub_total.service_price",
|
125 |
+
"16": "total.total_etc",
|
126 |
+
"17": "menu.num",
|
127 |
+
"18": "sub_total.tax_price",
|
128 |
+
"19": "sub_total.etc",
|
129 |
+
"20": "sub_total.subtotal_price",
|
130 |
+
"21": "total.total_price",
|
131 |
+
"22": "O",
|
132 |
+
"23": "total.creditcardprice"
|
133 |
+
},
|
134 |
+
"image_feature_pool_shape": [
|
135 |
+
7,
|
136 |
+
7,
|
137 |
+
256
|
138 |
+
],
|
139 |
+
"initializer_range": 0.02,
|
140 |
+
"intermediate_size": 3072,
|
141 |
+
"label2id": {
|
142 |
+
"O": 22,
|
143 |
+
"menu.cnt": 1,
|
144 |
+
"menu.discountprice": 8,
|
145 |
+
"menu.itemsubtotal": 2,
|
146 |
+
"menu.nm": 0,
|
147 |
+
"menu.num": 17,
|
148 |
+
"menu.price": 13,
|
149 |
+
"menu.sub_cnt": 4,
|
150 |
+
"menu.sub_nm": 5,
|
151 |
+
"menu.sub_price": 7,
|
152 |
+
"menu.unitprice": 12,
|
153 |
+
"sub_total.discount_price": 11,
|
154 |
+
"sub_total.etc": 19,
|
155 |
+
"sub_total.service_price": 15,
|
156 |
+
"sub_total.subtotal_price": 20,
|
157 |
+
"sub_total.tax_price": 18,
|
158 |
+
"total.cashprice": 14,
|
159 |
+
"total.changeprice": 9,
|
160 |
+
"total.creditcardprice": 23,
|
161 |
+
"total.emoneyprice": 10,
|
162 |
+
"total.menuqty_cnt": 6,
|
163 |
+
"total.menutype_cnt": 3,
|
164 |
+
"total.total_etc": 16,
|
165 |
+
"total.total_price": 21
|
166 |
+
},
|
167 |
+
"layer_norm_eps": 1e-12,
|
168 |
+
"max_2d_position_embeddings": 1024,
|
169 |
+
"max_position_embeddings": 512,
|
170 |
+
"max_rel_2d_pos": 256,
|
171 |
+
"max_rel_pos": 128,
|
172 |
+
"model_type": "layoutlmv2",
|
173 |
+
"num_attention_heads": 12,
|
174 |
+
"num_hidden_layers": 12,
|
175 |
+
"output_past": true,
|
176 |
+
"pad_token_id": 0,
|
177 |
+
"rel_2d_pos_bins": 64,
|
178 |
+
"rel_pos_bins": 32,
|
179 |
+
"shape_size": 128,
|
180 |
+
"torch_dtype": "float32",
|
181 |
+
"transformers_version": "4.12.0.dev0",
|
182 |
+
"type_vocab_size": 2,
|
183 |
+
"vocab_size": 30522
|
184 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a7101101b7decb2c5c3ffcef8499566d563e9e1fa91d75b0c604eccc6c2c072a
|
3 |
+
size 802327442
|
runs/Oct28_07-41-41_09411c98f2a5/1635406910.400126/events.out.tfevents.1635406910.09411c98f2a5.77.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ce56707a79439421c03f2ad796bc47859a7665879c2ac3f1f1edf47e6d1124fb
|
3 |
+
size 4576
|
runs/Oct28_07-41-41_09411c98f2a5/events.out.tfevents.1635406910.09411c98f2a5.77.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dc7a92441a4897e8c018f2440d57ef25184f788940622c648a96d1f45f56fbf3
|
3 |
+
size 6969
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cc1d2595365958dec2ceda528dec311b47f484d833f28c3816dd26e2ba045f0c
|
3 |
+
size 2927
|