Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{'code': 803, 'data': "任务提前结束。[Error] OCR init fail. Argd: {'enable_mkldnn': True, 'cpu_threads': 4, 'config_path': 'models/config_chinese.txt', 'cls': False, 'use_angle_cls': False, 'limit_side_len': 960}\nOCR init fail."} #621

Open
1 task done
suqi95716aa opened this issue Aug 5, 2024 · 2 comments

Comments

@suqi95716aa
Copy link

Issues

  • I have browsed through the Issues. 我已浏览过Issues,确定没有重复提问。

Umi-OCR version 程序版本

2.1.3

Windows version 系统版本

Centos7.6

OCR plugins Used 使用的OCR插件

PaddleOCR

Reproduction steps 复现步骤

  1. 按照Linux上教程正常安装Umi-ocr。
  2. 查看容器已经启动成功。
  3. 宿主机调用ip+port,返回如标题错误。

Problem screenshots or related files (optional) 问题截图或相关文件(可选)

{'code': 803, 'data': "任务提前结束。[Error] OCR init fail. Argd: {'enable_mkldnn': True, 'cpu_threads': 4, 'config_path': 'models/config_chinese.txt', 'cls': False, 'use_angle_cls': False, 'limit_side_len': 960}\nOCR init fail."}

@feifuzeng
Copy link

复议 我也遇到同样的问题了 求解

@hiroi-sora
Copy link
Owner

hiroi-sora/Umi-OCR_runtime_linux#3


  1. 请先删除当前的容器。然后,打开主机中下载的Dockerfile,前面有一行:
FROM debian:11-slim
  1. 将它改为版本更靠后的基础镜像,如:
FROM debian:12-slim
  1. 然后,重新build和run。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants