当前位置:网站首页>OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.解决方法
OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.解决方法
2022-07-30 18:29:00 【鲁棒最小二乘支持向量机】
搭建简单的UNet网络,运行predict程序时,突然报错:
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
添加代码,运行之后,仍然报错,仔细阅读错误信息:
OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.
意思是libiomp5md.dll已经初始化,那么可能是环境中dll文件冲突,找到运行环境目录,尝试删除libiomp5md.dll文件
再次运行程序,问题完美解决!
希望本文对大家有帮助,上文若有不妥之处,欢迎指正
分享决定高度,学习拉开差距
边栏推荐
- OSPF详解(4)
- Pagoda builds PHP adaptive lazy website navigation source code measurement
- natural language processing nltk
- [Summary] 1396- 60+ VSCode plugins to create a useful editor
- 【PHPWord】PHPOffice 套件之PHPWord快速入门
- ByteArrayInputStream 类源码分析
- Read the "Language Model" in one article
- ESP8266-Arduino programming example-HC-SR04 ultrasonic sensor driver
- Web结题报告
- 你好,我的新名字叫“铜锁/Tongsuo”
猜你喜欢
基于inquirer封装一个控制台文件选择器
基础架构之Mongo
cocos creater 热更重启导致崩溃
这玩意儿都能优化?果然是细节都在魔鬼里。
The large-scale application of artificial intelligence AI products in industrial-grade mature shipping ports of CIMC World Lianda will create a new generation of high-efficiency smart ports and innova
Application of time series database in the field of ship risk management
Pagoda builds PHP adaptive lazy website navigation source code measurement
【HMS core】【ML Kit】机器学习服务常见问题FAQ(二)
深化校企合作 搭建技术技能人才成长“立交桥”
node封装一个控制台进度条插件
随机推荐
arcpy获取要素类(属性表)包含的数目
ESP8266-Arduino编程实例-HC-SR04超声波传感器驱动
[Summary] 1396- 60+ VSCode plugins to create a useful editor
Anaconda Navigator stuck on loading applications
DevEco Studio3.0下载失败,提示An unknown error occurred
网络基础(二)-Web服务器-简介——WampServer集成服务器软件之Apache+MySQL软件安装流程 & netstat -an之检测计算机的端口是否占用
【Qt Designer工具的使用】
【HarmonyOS】【FAQ】鸿蒙问题合集4
深化校企合作 搭建技术技能人才成长“立交桥”
DTSE Tech Talk丨第2期:1小时深度解读SaaS应用系统设计
LeetCode 练习——关于查找数组元素之和的两道题
强啊,点赞业务缓存设计优化探索之路。
NC | 西湖大学陶亮组-TMPRSS2“助攻”病毒感染并介导索氏梭菌出血毒素的宿主入侵...
CCNA-子网划分(VLSM)
6块钱1斤,日本公司为何来中国收烟头?
CCNA-NAT协议(理论与实验练习)
What kind of framework is friendly to developers?
ROS 环境使用第三方动态链接库(.so)文件
Codeblocks + Widgets 创建窗口代码分析
kotlin的by lazy