Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -1901,5 +1901,5 @@
183
],
"heads": [[146, 0, 0], [150, 0, 0]],
"attrs": {"mxnet_version": ["int", 10600]}
"attrs": {"mxnet_version": ["int", 10901]}
}
12 changes: 6 additions & 6 deletions module/ocr/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ def azur_lane(self):
@cached_property
def azur_lane_jp(self):
# Folder: ./bin/cnocr_models/azur_lane_jp
# Size: 3.29MB
# Size: 3.25MB
# Model: densenet-lite-gru
# Epoch: 93
# Validation accuracy: 99.38%
# Font: Impact, VibeMO Compressed Pro Thin, Folk R
# Charset: 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ:/- (Letter 'O' and <space> is not included)
# Epoch: 20
# Validation accuracy: 99.01%
# Font: Impact, VibeMO Compressed Pro Thin, Folk R, Source Han Serif JP
# Charset: 0123456789ABCDEFGHIJKLMNPQRSTUVWXYZ:/- (Letter 'O' and <space> is not included)
# _num_classes: 39
from module.ocr.al_ocr import AlOcr
return AlOcr(model_name='densenet-lite-gru', model_epoch=93, root='./bin/cnocr_models/azur_lane_jp',
return AlOcr(model_name='densenet-lite-gru', model_epoch=20, root='./bin/cnocr_models/azur_lane_jp',
name='azur_lane_jp')

@cached_property
Expand Down