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

再次运行程序,问题完美解决!
希望本文对大家有帮助,上文若有不妥之处,欢迎指正
分享决定高度,学习拉开差距
边栏推荐
- Recommendation | People who are kind to you, don't repay them by inviting them to eat
- One year after graduation, I was engaged in software testing and won 11.5k. I didn't lose face to the post-98 generation...
- 智慧中控屏
- node封装一个控制台进度条插件
- 【剑指 Offe】剑指 Offer 18. 删除链表的节点
- 432.4 FPS 快STDC 2.84倍 | LPS-Net 结合内存、FLOPs、CUDA实现超快语义分割模型
- 博纳影通过IPO注册:阿里腾讯是股东 受疫情冲击明显
- 6 yuan per catty, why do Japanese companies come to China to collect cigarette butts?
- 【HarmonyOS】【ARK UI】HarmonyOS ets语言怎么实现双击返回键退出
- 《自然语言处理实战入门》---- 文本样本扩展小技巧:使用回译技术进行样本增强
猜你喜欢

Basic use of scrapy

软件测试13年从业经验的前辈,总结的5条测试就业建议....

Codeblocks + Widgets create window code analysis

这玩意儿都能优化?果然是细节都在魔鬼里。

Pagoda builds PHP adaptive lazy website navigation source code measurement

【HMS core】【ML Kit】机器学习服务常见问题FAQ(二)

After 23 years of operation, the former "China's largest e-commerce website" has turned yellow...

SQL行列转换

A senior with 13 years of experience in software testing, summed up 5 test employment suggestions....

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
随机推荐
【PHPWord】Quick Start of PHPWord in PHPOffice Suite
kotlin的by lazy
Kettle--MySQL生产数据库千万、亿级数据量迁移方案及性能优化
ROS 节点初始化步骤、topic/service创建及使用
开源盛宴ApacheCon Asia 2022即将开幕,精彩不容错过!
ESP8266-Arduino编程实例-BMP180气压温度传感器驱动
Chapter 4 Controlling the Execution Flow
运营 23 年,昔日“国内第一大电商网站”黄了...
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
《痞子衡嵌入式半月刊》 第 59 期
第14章 类型信息
linux 下MySQL本地安装mysql - u root - p 无法登入
千亿级、大规模:腾讯超大 Apache Pulsar 集群性能调优实践
MySQL data types
深化校企合作 搭建技术技能人才成长“立交桥”
SQL行列转换
SQL存储过程详解
【开发者必看】【push kit】推送服务典型问题合集3
【HMS core】【ML Kit】机器学习服务常见问题FAQ(二)
Codeblocks + Widgets create window code analysis