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

Flask 连续预测偶发性报错 #3753

Closed
bikerr opened this issue Aug 19, 2021 · 1 comment
Closed

Flask 连续预测偶发性报错 #3753

bikerr opened this issue Aug 19, 2021 · 1 comment
Assignees

Comments

@bikerr
Copy link

bikerr commented Aug 19, 2021

I0819 21:12:59.299302 26160 device_context.cc:598] oneDNN v2.2.1
W0819 21:12:59.299302 26160 operator.cc:242] conv2d raises an exception struct dnnl::error, could not execute a primitive

使用环境

  • windows 10
  • paddlepaddle-2.1.2
  • paddleocr-2.2.0.2
@LDOUBLEV
Copy link
Collaborator

应该是flask多进程与内置的OneDNN的多进程冲突导致的,你设置flask单进程预测就好了,这个问题已经反馈给intel

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

2 participants