mirror of
https://github.com/sui-feng-cb/AzurLaneAutoScript1.git
synced 2026-08-13 11:12:41 +08:00
Opt: use ONNX model converted from MXNet for faster OCR with MXNet fallback
This commit is contained in:
@@ -38,6 +38,8 @@ class ConfigModel:
|
||||
StartOcrServer: bool = False
|
||||
OcrServerPort: int = 22268
|
||||
OcrClientAddress: str = "127.0.0.1:22268"
|
||||
OcrBackend: str = "onnx"
|
||||
IntraOpThreads: Optional[int] = None
|
||||
|
||||
# Update
|
||||
EnableReload: bool = True
|
||||
|
||||
@@ -79,6 +79,14 @@ Deploy:
|
||||
# Address of ocr server for alas instance to connect
|
||||
# [Default] 127.0.0.1:22268
|
||||
OcrClientAddress: 127.0.0.1:22268
|
||||
# Use higher-performance backend for OCR instead of MXNet
|
||||
# Available backends: onnx
|
||||
# [Default] onnx
|
||||
OcrBackend: onnx
|
||||
# Number of threads used for intra-op parallelism in the ONNX session
|
||||
# Leave as default if you are unsure of the impact
|
||||
# [Default] null
|
||||
IntraOpThreads: null
|
||||
|
||||
Update:
|
||||
# Use auto update and builtin updater feature
|
||||
|
||||
Reference in New Issue
Block a user