当前位置:网站首页>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 )
边栏推荐
- MySQL20-MySQL的数据目录
- 【博主推荐】asp.net WebService 后台数据API JSON(附源码)
- Kubernetes - problems and Solutions
- SSM integrated notes easy to understand version
- Record a problem of raspberry pie DNS resolution failure
- CSDN问答标签技能树(一) —— 基本框架的构建
- When you open the browser, you will also open mango TV, Tiktok and other websites outside the home page
- [Li Kou 387] the first unique character in the string
- CSDN问答模块标题推荐任务(二) —— 效果优化
- MySQL completely uninstalled (windows, MAC, Linux)
猜你喜欢

La table d'exportation Navicat génère un fichier PDM

机器学习--人口普查数据分析

API learning of OpenGL (2003) gl_ TEXTURE_ WRAP_ S GL_ TEXTURE_ WRAP_ T

CSDN Q & a tag skill tree (V) -- cloud native skill tree

一键提取pdf中的表格
![[Li Kou 387] the first unique character in the string](/img/2d/f2c99549cac86c08efbfbd8ba76427.jpg)
[Li Kou 387] the first unique character in the string
![[download app for free]ineukernel OCR image data recognition and acquisition principle and product application](/img/1b/ed39a8b9181660809a081798eb8a24.jpg)
[download app for free]ineukernel OCR image data recognition and acquisition principle and product application

Install mysql5.5 and mysql8.0 under windows at the same time

35 is not a stumbling block in the career of programmers

Install mongdb tutorial and redis tutorial under Windows
随机推荐
FRP intranet penetration
图片上色项目 —— Deoldify
Data dictionary in C #
解决扫描不到xml、yml、properties文件配置
Armv8-a programming guide MMU (2)
解决:log4j:WARN Please initialize the log4j system properly.
Kubernetes - problems and Solutions
CSDN markdown editor
Principes JDBC
The virtual machine Ping is connected to the host, and the host Ping is not connected to the virtual machine
CSDN question and answer module Title Recommendation task (I) -- Construction of basic framework
打开浏览器的同时会在主页外同时打开芒果TV,抖音等网站
Navicat 導出錶生成PDM文件
Global and Chinese market of transfer switches 2022-2028: Research Report on technology, participants, trends, market size and share
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
Detailed reading of stereo r-cnn paper -- Experiment: detailed explanation and result analysis
Introduction to the easy copy module
CSDN blog summary (I) -- a simple first edition implementation
QT creator specify editor settings
SSM integrated notes easy to understand version