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

加载模型后闪退 #120

Closed
YQisme opened this issue Jun 10, 2022 · 4 comments
Closed

加载模型后闪退 #120

YQisme opened this issue Jun 10, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@YQisme
Copy link

YQisme commented Jun 10, 2022

D:\anaconda3\lib\site-packages\win32\lib\pywintypes.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp, sys, os
qt.qpa.fonts: Unable to enumerate family ' "Droid Sans Mono Dotted for Powerline" '
qt.qpa.fonts: Unable to enumerate family ' "Droid Sans Mono Slashed for Powerline" '
qt.qpa.fonts: Unable to enumerate family ' "Roboto Mono Medium for Powerline" '
qt.qpa.fonts: Unable to enumerate family ' "Ubuntu Mono derivative Powerline" '
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/.
QObject::~QObject: Timers cannot be stopped from another thread

@YQisme YQisme added the bug Something isn't working label Jun 10, 2022
@geoyee
Copy link
Member

geoyee commented Jul 1, 2022

@Leon-Brant
Copy link

Leon-Brant commented Jul 11, 2022

可以参考这个试试? https://blog.csdn.net/weixin_43823786/article/details/124525625 https://blog.csdn.net/m0_50736744/article/details/121799432(方法二)

这里面讲述的方法并不奏效,我在网上查了一些资料,eiseg加载模型后闪退是因为anaconda安装的其他环境中也存在libiomp5md.dll这个动态库文件。假如你安装的虚拟环境比较多的话,这个动态库文件甚至不止有一个。我的建议是不要删除别的虚拟环境下的libiomp5md.dll,而是应该把Anaconda\envs\paddle\Library\bin路径下的libiomp5md.dll删掉。我尝试后发现重新打开eiseg,加载模型后不再闪退。

@geoyee
Copy link
Member

geoyee commented Jul 11, 2022

可以参考这个试试? https://blog.csdn.net/weixin_43823786/article/details/124525625 https://blog.csdn.net/m0_50736744/article/details/121799432(方法二)

这里面讲述的方法并不奏效,我在网上查了一些资料,eiseg加载模型后闪退是因为anaconda安装的其他环境中也存在libiomp5md.dll这个动态库文件。假如你安装的虚拟环境比较多的话,这个动态库文件甚至不止有一个。我的建议是不要删除别的虚拟环境下的libiomp5md.dll,而是应该把Anaconda\envs\paddle\Library\bin路径下的libiomp5md.dll删掉。我尝试后发现重新打开eiseg,加载模型后不再闪退。

感谢您的回答

@YQisme
Copy link
Author

YQisme commented Jul 11, 2022

已解决,谢谢

@YQisme YQisme closed this as completed Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants