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

Solve ModuleNotFoundError: No module named 'tools.infer' #13348

Merged
merged 5 commits into from
Jul 11, 2024

Conversation

myhloli
Copy link
Contributor

@myhloli myhloli commented Jul 11, 2024

fix(paddleocr): move "from tools.infer import predict_system" under "tools" define to solve ModuleNotFoundError: No module named 'tools.infer'

Copy link
Collaborator

@GreatV GreatV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@GreatV GreatV merged commit 2628390 into PaddlePaddle:main Jul 11, 2024
3 checks passed
@GreatV
Copy link
Collaborator

GreatV commented Jul 11, 2024

Please cherry-pick to release/2.8.

@GreatV GreatV mentioned this pull request Jul 11, 2024
GreatV pushed a commit to GreatV/PaddleOCR that referenced this pull request Aug 6, 2024
…e#13348)

* add layout score return

* fix(paddleocr): correct import path for predict_system
to fix ModuleNotFoundError: No module named 'tools.infer'

* fix(paddleocr): move from tools.infer import predict_system under "tools" define to slove ModuleNotFoundError: No module named 'tools.infer'
GreatV pushed a commit to GreatV/PaddleOCR that referenced this pull request Aug 6, 2024
…e#13348)

* add layout score return

* fix(paddleocr): correct import path for predict_system
to fix ModuleNotFoundError: No module named 'tools.infer'

* fix(paddleocr): move from tools.infer import predict_system under "tools" define to slove ModuleNotFoundError: No module named 'tools.infer'
jzhang533 pushed a commit that referenced this pull request Aug 29, 2024
…3603)

* add layout score return

* fix(paddleocr): correct import path for predict_system
to fix ModuleNotFoundError: No module named 'tools.infer'

* fix(paddleocr): move from tools.infer import predict_system under "tools" define to slove ModuleNotFoundError: No module named 'tools.infer'

Co-authored-by: myhloli <moe@myhloli.com>
@luotao1
Copy link
Collaborator

luotao1 commented Nov 6, 2024

hi, @myhloli

  • 非常感谢你对飞桨的贡献,我们正在运营一个PFCC组织,会通过定期分享技术知识与发布开发者主导任务的形式持续为飞桨做贡献,详情可见 https://github.com/luotao1 主页说明。
  • 如果你对PFCC有兴趣,请发送邮件至 ext_paddle_oss@baidu.com,我们会邀请你加入~

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

Successfully merging this pull request may close these issues.

ModuleNotFoundError: No module named 'tools.infer' while Detectron2 are installed
3 participants