PaddleOCR icon indicating copy to clipboard operation
PaddleOCR copied to clipboard

Ubuntu系统下开启mkldnn使用CPU推理结果为乱码

Open KyleWang-Hunter opened this issue 2 years ago • 4 comments

请提供下述完整信息以便快速定位问题/Please provide the following information to quickly locate the problem

  • 系统环境/System Environment:Ubuntu18.04
  • 版本号/Version:Paddle:2.3.2 ; PaddleOCR: 2.4; 问题相关组件/Related components:mkldnn

在windows10系统下开启mkldnn识别结果正常,但是在Ubuntu系统下开启mkldnn识别结果为乱码,请问如何解决?

KyleWang-Hunter avatar Oct 12 '22 01:10 KyleWang-Hunter

请问是运行的哪个命令呢

WenmuZhou avatar Oct 13 '22 09:10 WenmuZhou

请问是运行的哪个命令呢 两种方式都是乱码 方式一: ocr = PaddleOCR(use_angle_cls=True, lang="ch", enable_mkldnn=True, use_gpu=False) ocr.ocr("image_path") 方式二: python tools/infer/predict_system.py

KyleWang-Hunter avatar Oct 13 '22 09:10 KyleWang-Hunter

image 我这边正常哈,你可以看一下你的终端是否支持utf8

WenmuZhou avatar Oct 13 '22 09:10 WenmuZhou

image 我这边正常哈,你可以看一下你的终端是否支持utf8

好的,感谢

KyleWang-Hunter avatar Oct 13 '22 09:10 KyleWang-Hunter