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

再次运行程序,问题完美解决!
希望本文对大家有帮助,上文若有不妥之处,欢迎指正
分享决定高度,学习拉开差距
边栏推荐
- Graphic LeetCode -- 11. Containers of most water (difficulty: medium)
- 第14章 类型信息
- One year after graduation, I was engaged in software testing and won 11.5k. I didn't lose face to the post-98 generation...
- 轻量级网络 ESPNetv2
- 【HarmonyOS】【FAQ】鸿蒙问题合集3
- DM8:单库单实例搭建本地数据守护服务
- core sound driver详解
- 沃尔沃中国的年中总结,在“安全感”中寻找未来
- 好未来单季营收2.24亿美元:同比降84% 张邦鑫持股26.3%
- Immersive experience iFLYTEK 2022 Consumer Expo "Official Designated Product"
猜你喜欢

Immersive experience iFLYTEK 2022 Consumer Expo "Official Designated Product"

One year after graduation, I was engaged in software testing and won 11.5k. I didn't lose face to the post-98 generation...

Web结题报告

网络基础(三)01-网络的基础概念——URL地址组成之协议、主机地址、路径和参数&127.0.0.1本地回环地址& 查看网址IP地址并访问之ping空格+网址&netstat -anb查看本机占用端口

Critical Reviews | A review of the global distribution of antibiotics and resistance genes in farmland soil by Nannong Zou Jianwen's group

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

EMC VPLEX VS2 SPS电池更换详细探讨

【AGC】构建服务1-云函数示例

scrapy基本使用

Meta元宇宙部门第二季度亏损28亿!仍要继续押注?元宇宙发展尚未看到出路!
随机推荐
arcpy获取要素类(属性表)包含的数目
cocos creater 热更重启导致崩溃
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
JVM 上数据处理语言的竞争:Kotlin, Scala 和 SPL
Quickly build an e-commerce platform based on Amazon cloud technology serverless service - performance
Anaconda Navigator卡在loading applications
6块钱1斤,日本公司为何来中国收烟头?
ByteArrayInputStream class source code analysis
【HMS core】【FAQ】Account Kit、MDM能力、push Kit典型问题合集6
Read the "Language Model" in one article
LeetCode 练习——关于查找数组元素之和的两道题
【Pointing to Offer】Pointing to Offer 18. Delete the node of the linked list
The sixteenth issue of eight-part article Balabala said (MQ)
网络基础(三)01-网络的基础概念——URL地址组成之协议、主机地址、路径和参数&127.0.0.1本地回环地址& 查看网址IP地址并访问之ping空格+网址&netstat -anb查看本机占用端口
SwiftUI iOS 精品开源项目之 完整烘焙食品菜谱App基于SQLite(教程含源码)
基于inquirer封装一个控制台文件选择器
第14章 类型信息
Codeblocks + Widgets create window code analysis
线性筛求积性函数
After 23 years of operation, the former "China's largest e-commerce website" has turned yellow...