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

PPOCRLabel不能启动,报OMP错误 #3481

Closed
ronaldpan opened this issue Jul 30, 2021 · 4 comments
Closed

PPOCRLabel不能启动,报OMP错误 #3481

ronaldpan opened this issue Jul 30, 2021 · 4 comments
Assignees

Comments

@ronaldpan
Copy link

ronaldpan commented Jul 30, 2021

OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.
OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://www.intel.com/software/products/support/.
运行环境: windows 10 64位,paddlepaddle-gpu==2.1.1 cudatoolkit=10.2

@Evezerest
Copy link
Collaborator

paddleocr可以正常预测吗?

@ronaldpan
Copy link
Author

ronaldpan commented Aug 1, 2021

python tools/infer/predict_det.py --image_dir="./doc/imgs_en/29f180900010007_1.jpg" --det_model_dir="./output/ch_db_mv3" --use_gpu=False --det_db_thresh=0.7 --det_db_box_thresh=0.2 --det_db_unclip_ratio=1.2
也报这个错误

@Evezerest
Copy link
Collaborator

应该是环境问题,可以搜索一下,参考https://www.codenong.com/cs110454017/

@paddle-bot-old paddle-bot-old bot closed this as completed Nov 4, 2021
@paddle-bot-old
Copy link

paddle-bot-old bot commented Nov 4, 2021

Since you haven't replied for more than 3 months, we have closed this issue/pr.
If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up.
It is recommended to pull and try the latest code first.
由于您超过三个月未回复,我们将关闭这个issue/pr。
若问题未解决或有后续问题,请随时重新打开(建议先拉取最新代码进行尝试),我们会继续跟进。

an1018 pushed a commit to an1018/PaddleOCR that referenced this issue Aug 17, 2022
* reorganize the code, and fix bug

* fix typo

* remve comment

* reorganize code

* Revert "reorganize code"

This reverts commit 4f928c3a46b264ba8815978b914bf81a46b66b62.

* set weight

* set default config

* fix code style
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