breezedeus / CnSTD

CnSTD: 基于 PyTorch/MXNet 的 中文/英文 场景文字检测(Scene Text Detection)、数学公式检测(Mathematical Formula Detection, MFD)、篇章分析(Layout Analysis)的Python3 包
https://www.breezedeus.com/article/cnocr
Apache License 2.0
654 stars 101 forks source link

Potential bugs? Hard code of the context #80

Open tianyu-z opened 2 months ago

tianyu-z commented 2 months ago

self._model_backend = 'onnx' at here It seems that the det_model_backend setting will be overrided. Even if you set det_model_backend='pytorch', it still going to use the 'onnx'.

breezedeus commented 2 months ago

no available pytorch model for pp_detector