-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
ModuleNotFoundError: No module named 'tools.infer' while Detectron2 are installed #13335
Comments
are this is expected? |
You're right, |
@GreatV did you know the release branch that solved this issue? |
@yogi0421 This issue is not yet fixed in the release branch. |
I encountered the same issue, which only occurred in version 2.8.0; there were no problems in version 2.7.3. To resolve it, I replaced tools.infer with paddleocr.tools.infer which fixed the problem. |
问题描述 / Problem Description
When I try to import paddleocr, it return
ModuleNotFoundError: No module named 'tools.infer'
, this happened on my environment with Detectron2 are installed.运行环境 / Runtime Environment
复现代码 / Reproduction Code
完整报错 / Complete Error Message
可能解决方案 / Possible solutions
I manually edit the
paddle.py
file, on codefrom :
to :
附件 / Appendix
The text was updated successfully, but these errors were encountered: