OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.

简介: OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.

Optimizer groups: 62 .bias, 70 conv.weight, 59 other

Scanning labels VOC\labels\train.cache (494 found, 0 missing, 0 empty, 0 duplicate, for 494 images): 494it [00:00, 14565.09it/s]

Scanning labels VOC\labels\val.cache (55 found, 0 missing, 0 empty, 0 duplicate, for 55 images): 55it [00:00, 13880.90it/s]

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/.

解决方法:


import os

os.environ["KMP_DUPLICATE_LIB_OK"]="TRUE"


目录
相关文章
|
8月前
|
iOS开发
解决App Installation failed, No code signature found.
解决App Installation failed, No code signature found.
163 0
|
10月前
OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.
OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.
|
11月前
|
Android开发
Failed to obtain GLES 2.x extensions striProcess finished with exit code -1073741819 (0xC0000005)
android studio打开虚拟机时报错信息,解决办法之一(我成功的办法,其他方法试了没用), 打开 设备管理器然后找到你的独显,然后禁用设备,然后再次启动设备就行了,最后再启动你的虚拟机就行了。
107 0
|
并行计算 Python
报错:OMP: Error #15: Initializing libomp.dylib, but found libiomp5.dylib already initialized.
报错:OMP: Error #15: Initializing libomp.dylib, but found libiomp5.dylib already initialized.
248 0
|
并行计算
解决Error #15: Initializing libiomp5.dylib, but found libomp.dylib already initialized.
解决Error #15: Initializing libiomp5.dylib, but found libomp.dylib already initialized.
287 0
|
网络安全 Python Windows
ImportError: DLL load failed while importing _ssl: 找不到指定的模块。
找到Anaconda3\pkgs\python-3.8.12-h900ac77_2_cpython\DLLs下的_ssl.pyd文件,查阅在该环境上安装的python版本号,下载python寻找对应的_ssl.pyd覆盖到上述目录中,即可解决问题。
621 0
configure: line syntax error near unexpected token `win32-dll'
configure: line syntax error near unexpected token `win32-dll'
300 0
(Anaconda)ImportError: DLL load failed while importing win32file: 找不到指定的模块。
(Anaconda)ImportError: DLL load failed while importing win32file: 找不到指定的模块。
(Anaconda)ImportError: DLL load failed while importing win32file: 找不到指定的模块。
|
机器学习/深度学习 并行计算 PyTorch
解决| “OMP: Error #15: Initializing libiomp5md.dll,”
解决| “OMP: Error #15: Initializing libiomp5md.dll,”
2927 0
|
Python
ImportError: DLL load failed while importing qhull: 找不到指定的模块。问题解决!
ImportError: DLL load failed while importing qhull: 找不到指定的模块。问题解决!
686 0