Wang Xin
Wang Xin
 ```python from paddleocr import PaddleOCR ocr = PaddleOCR( use_doc_orientation_classify=False, # 通过 use_doc_orientation_classify 参数指定不使用文档方向分类模型 use_doc_unwarping=False, # 通过 use_doc_unwarping 参数指定不使用文本图像矫正模型 use_textline_orientation=True, # 通过 use_textline_orientation 参数指定不使用文本行方向分类模型 text_detection_model_name="PP-OCRv5_mobile_det", # 通过 text_detection_model_name 参数指定文本检测模型 text_recognition_model_name="PP-OCRv5_mobile_rec",...
参考其他issue的讨论,应该是训练数据的问题
try upgrade your `paddleocr` version to **2.8.0**.
ppocrlabel 已经迁移出去了 https://github.com/PFCCLab/PPOCRLabel ,建议在独立的仓库提问。
更新一下paddle到3.0 beta,和 paddleocr
无法复现你的问题,建议在新的虚拟环境中重新安装。
@LDOUBLEV, 老哥你能不能抽时间给它修一下。 这个好像一直都是只能用一个gpu推理。
而且看前面window系统直接返回`gpu_id=0`了
https://www.paddlepaddle.org.cn/inference/master/api_reference/cxx_api_doc/Config/GPUConfig.html#gpu 从这里看是必须要传入gpu_id 的
> 也可以加一个警告,告诉用户默认使用第一个卡执行推理 @LDOUBLEV Got it.