当前位置:网站首页>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文件

再次运行程序,问题完美解决!
希望本文对大家有帮助,上文若有不妥之处,欢迎指正
分享决定高度,学习拉开差距
边栏推荐
- Anaconda Navigator stuck on loading applications
- 针不戳,数据库性能优化八大方案。
- DM8:单库单实例搭建本地数据守护服务
- Codeblocks + Widgets create window code analysis
- 运营 23 年,昔日“国内第一大电商网站”黄了...
- 猎豹移动终于递交年报:年营收7.85亿 腾讯持股16.6%
- WeChat Mini Program Cloud Development | Urban Information Management
- (2022杭电多校四)1001-Link with Bracket Sequence II(区间动态规划)
- Deepen school-enterprise cooperation and build an "overpass" for the growth of technical and skilled talents
- 【HMS core】【ML Kit】机器学习服务常见问题FAQ(二)
猜你喜欢

【剑指 Offer】剑指 Offer 22. 链表中倒数第k个节点

ESP8266-Arduino programming example-BMP180 air pressure temperature sensor driver

【Swords Offer】Swords Offer 17. Print n digits from 1 to the largest

MySQL data types

ESP8266-Arduino编程实例-BMP180气压温度传感器驱动

linux 安装mysql8.0 超详细教程(实战多次)

Critical Reviews | 南农邹建文组综述全球农田土壤抗生素与耐药基因分布

OneFlow源码解析:Op、Kernel与解释器

荐号 | 对你有恩的人,不要请吃饭来报答

CIMC Shilian Dafeitong is the global industrial artificial intelligence AI leader, the world's top AI core technology, high generalization, high robustness, sparse sample continuous learning, industri
随机推荐
终端分屏工具Terminalx的使用
AI基础:图解Transformer
运营 23 年,昔日“国内第一大电商网站”黄了...
【PHPWord】Quick Start of PHPWord in PHPOffice Suite
CCNA-网络汇总 超网(CIDR) 路由最长掩码匹配
【HMS core】【FAQ】Account Kit、MDM能力、push Kit典型问题合集6
【HarmonyOS】【ARK UI】HarmonyOS ets语言怎么实现双击返回键退出
Fixed asset visualization intelligent management system
【HarmonyOS】【FAQ】鸿蒙问题合集4
What kind of framework is friendly to developers?
你好好想想,你真的需要配置中心吗?
自然语言处理nltk
A senior with 13 years of experience in software testing, summed up 5 test employment suggestions....
Multiple instances of mysql
「Redis应用与深度实践笔记」,深得行业人的心,这还不来看看?
【HMS core】【Analytics Kit】【FAQ】如何解决华为分析付费分析中付款金额显示为0的问题?
kotlin的by lazy
cocos creater 热更重启导致崩溃
DM8:单库单实例搭建本地数据守护服务
原生js系列