Skip to content

Commit c422a4d

Browse files
authored
Upd: ocr model azur_lane_jp (#5553)
1 parent 7cddbaf commit c422a4d

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

Binary file not shown.
Binary file not shown.

bin/cnocr_models/azur_lane_jp/cnocr-v1.2.0-densenet-lite-gru-symbol.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1901,5 +1901,5 @@
19011901
183
19021902
],
19031903
"heads": [[146, 0, 0], [150, 0, 0]],
1904-
"attrs": {"mxnet_version": ["int", 10600]}
1904+
"attrs": {"mxnet_version": ["int", 10901]}
19051905
}

module/ocr/models.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ def azur_lane(self):
1919
@cached_property
2020
def azur_lane_jp(self):
2121
# Folder: ./bin/cnocr_models/azur_lane_jp
22-
# Size: 3.29MB
22+
# Size: 3.25MB
2323
# Model: densenet-lite-gru
24-
# Epoch: 93
25-
# Validation accuracy: 99.38%
26-
# Font: Impact, VibeMO Compressed Pro Thin, Folk R
27-
# Charset: 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ:/- (Letter 'O' and <space> is not included)
24+
# Epoch: 20
25+
# Validation accuracy: 99.01%
26+
# Font: Impact, VibeMO Compressed Pro Thin, Folk R, Source Han Serif JP
27+
# Charset: 0123456789ABCDEFGHIJKLMNPQRSTUVWXYZ:/- (Letter 'O' and <space> is not included)
2828
# _num_classes: 39
2929
from module.ocr.al_ocr import AlOcr
30-
return AlOcr(model_name='densenet-lite-gru', model_epoch=93, root='./bin/cnocr_models/azur_lane_jp',
30+
return AlOcr(model_name='densenet-lite-gru', model_epoch=20, root='./bin/cnocr_models/azur_lane_jp',
3131
name='azur_lane_jp')
3232

3333
@cached_property

0 commit comments

Comments
 (0)