1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-28 03:09:42 +08:00

Upd: ocr model azur_lane_jp (#5553)

This commit is contained in:
guoh064
2026-03-26 20:38:38 +08:00
committed by GitHub
parent 7cddbaf7a1
commit c422a4d58f
4 changed files with 7 additions and 7 deletions

View File

@@ -1901,5 +1901,5 @@
183 183
], ],
"heads": [[146, 0, 0], [150, 0, 0]], "heads": [[146, 0, 0], [150, 0, 0]],
"attrs": {"mxnet_version": ["int", 10600]} "attrs": {"mxnet_version": ["int", 10901]}
} }

View File

@@ -19,15 +19,15 @@ class OcrModel:
@cached_property @cached_property
def azur_lane_jp(self): def azur_lane_jp(self):
# Folder: ./bin/cnocr_models/azur_lane_jp # Folder: ./bin/cnocr_models/azur_lane_jp
# Size: 3.29MB # Size: 3.25MB
# Model: densenet-lite-gru # Model: densenet-lite-gru
# Epoch: 93 # Epoch: 20
# Validation accuracy: 99.38% # Validation accuracy: 99.01%
# Font: Impact, VibeMO Compressed Pro Thin, Folk R # Font: Impact, VibeMO Compressed Pro Thin, Folk R, Source Han Serif JP
# Charset: 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ:/- (Letter 'O' and <space> is not included) # Charset: 0123456789ABCDEFGHIJKLMNPQRSTUVWXYZ:/- (Letter 'O' and <space> is not included)
# _num_classes: 39 # _num_classes: 39
from module.ocr.al_ocr import AlOcr 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') name='azur_lane_jp')
@cached_property @cached_property