当前位置:网站首页>Deoldify project problem - omp:error 15:initializing libiomp5md dll,but found libiomp5md. dll already initialized.
Deoldify project problem - omp:error 15:initializing libiomp5md dll,but found libiomp5md. dll already initialized.
2022-07-06 11:07:00 【zkkkkkkkkkkkkk】
Catalog
One 、 Error message
The complete error report is as follows :
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/.
Two 、 reason
New virtual environment , Then run the program and report an error . There are two reasons to search online in the virtual environment libiomp5md.dll file . One is in pytorch In the bag , The other is in the directory where the virtual environment is located . It's strange that these two files .
3、 ... and 、 resolvent
Check the relevant articles and blogs online , Two methods are summarized .
1) The code to solve
I'm reporting a mistake Python Use in script os modular , Add environment variables . The code is as follows :
import os
os.environ['KMP_DUPLICATE_LIB_OK'] = "TRUE"
2) Manual solution
Will already exist two libiomp5md.dll Delete one ( The first method is recommended , Because no one knows whether deleting will affect other packages , Which leads to other errors )
边栏推荐
- CSDN问答模块标题推荐任务(一) —— 基本框架的搭建
- Navicat 導出錶生成PDM文件
- Principes JDBC
- 【博主推荐】asp.net WebService 后台数据API JSON(附源码)
- [reading notes] rewards efficient and privacy preserving federated deep learning
- CSDN Q & a tag skill tree (V) -- cloud native skill tree
- 35 is not a stumbling block in the career of programmers
- 记一次某公司面试题:合并有序数组
- Neo4j installation tutorial
- 自动机器学习框架介绍与使用(flaml、h2o)
猜你喜欢
安装numpy问题总结
[download app for free]ineukernel OCR image data recognition and acquisition principle and product application
Mysql21 user and permission management
【博主推荐】C#生成好看的二维码(附源码)
PyCharm中无法调用numpy,报错ModuleNotFoundError: No module named ‘numpy‘
[recommended by bloggers] background management system of SSM framework (with source code)
CSDN-NLP:基于技能树和弱监督学习的博文难度等级分类 (一)
[recommended by bloggers] C # generate a good-looking QR code (with source code)
[number theory] divisor
A brief introduction to the microservice technology stack, the introduction and use of Eureka and ribbon
随机推荐
解决:log4j:WARN Please initialize the log4j system properly.
Solution: log4j:warn please initialize the log4j system properly
Navicat 导出表生成PDM文件
Valentine's Day is coming, are you still worried about eating dog food? Teach you to make a confession wall hand in hand. Express your love to the person you want
[C language foundation] 04 judgment and circulation
Kubesphere - deploy the actual combat with the deployment file (3)
Windows下安装MongDB教程、Redis教程
CSDN博文摘要(一) —— 一个简单的初版实现
SSM整合笔记通俗易懂版
Deoldify项目问题——OMP:Error#15:Initializing libiomp5md.dll,but found libiomp5md.dll already initialized.
Install mongdb tutorial and redis tutorial under Windows
npm一个错误 npm ERR code ENOENT npm ERR syscall open
MySQL completely uninstalled (windows, MAC, Linux)
A brief introduction to the microservice technology stack, the introduction and use of Eureka and ribbon
Ubuntu 20.04 安装 MySQL
连接MySQL数据库出现错误:2059 - authentication plugin ‘caching_sha2_password‘的解决方法
API learning of OpenGL (2002) smooth flat of glsl
CSDN blog summary (I) -- a simple first edition implementation
【博主推荐】C# Winform定时发送邮箱(附源码)
February 13, 2022 - Maximum subarray and