当前位置:网站首页>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 )
边栏推荐
- neo4j安装教程
- La table d'exportation Navicat génère un fichier PDM
- Other new features of mysql18-mysql8
- CSDN question and answer module Title Recommendation task (II) -- effect optimization
- 图像识别问题 — pytesseract.TesseractNotFoundError: tesseract is not installed or it‘s not in your path
- C语言标准的发展
- MySQL的一些随笔记录
- Idea import / export settings file
- SSM整合笔记通俗易懂版
- 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
猜你喜欢
[reading notes] rewards efficient and privacy preserving federated deep learning
解决:log4j:WARN Please initialize the log4j system properly.
Install mysql5.5 and mysql8.0 under windows at the same time
MySQL19-Linux下MySQL的安装与使用
IDEA 导入导出 settings 设置文件
CSDN markdown editor
MySQL主从复制、读写分离
Win10: how to modify the priority of dual network cards?
CSDN问答模块标题推荐任务(一) —— 基本框架的搭建
Navicat 导出表生成PDM文件
随机推荐
LeetCode #461 汉明距离
MySQL20-MySQL的数据目录
csdn-Markdown编辑器
CSDN blog summary (I) -- a simple first edition implementation
Copie maître - esclave MySQL, séparation lecture - écriture
【博主推荐】C#MVC列表实现增删改查导入导出曲线功能(附源码)
Mysql21 - gestion des utilisateurs et des droits
MySQL master-slave replication, read-write separation
Dotnet replaces asp Net core's underlying communication is the IPC Library of named pipes
Install MySQL for Ubuntu 20.04
Idea import / export settings file
windows无法启动MYSQL服务(位于本地计算机)错误1067进程意外终止
Introduction to the easy copy module
Solution: log4j:warn please initialize the log4j system properly
Install mongdb tutorial and redis tutorial under Windows
虚拟机Ping通主机,主机Ping不通虚拟机
Are you monitored by the company for sending resumes and logging in to job search websites? Deeply convinced that the product of "behavior awareness system ba" has not been retrieved on the official w
Did you forget to register or load this tag 报错解决方法
API learning of OpenGL (2003) gl_ TEXTURE_ WRAP_ S GL_ TEXTURE_ WRAP_ T
Redis的基础使用