当前位置:网站首页>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 )
边栏推荐
- [leectode 2022.2.13] maximum number of "balloons"
- NPM an error NPM err code enoent NPM err syscall open
- Leetcode 461 Hamming distance
- MySQL flush operation
- Some problems in the development of unity3d upgraded 2020 VR
- QT creator specifies dependencies
- Idea import / export settings file
- A brief introduction to the microservice technology stack, the introduction and use of Eureka and ribbon
- windows无法启动MYSQL服务(位于本地计算机)错误1067进程意外终止
- 【博主推荐】C# Winform定时发送邮箱(附源码)
猜你喜欢

【博主推荐】asp.net WebService 后台数据API JSON(附源码)
![[Thesis Writing] how to write function description of jsp online examination system](/img/f8/13144e0febf4a576bbcc3290192079.jpg)
[Thesis Writing] how to write function description of jsp online examination system

A brief introduction to the microservice technology stack, the introduction and use of Eureka and ribbon

Neo4j installation tutorial

Copie maître - esclave MySQL, séparation lecture - écriture

Data dictionary in C #

Idea import / export settings file

Mysql21 user and permission management

自动机器学习框架介绍与使用(flaml、h2o)

Windows下安装MongDB教程、Redis教程
随机推荐
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
API learning of OpenGL (2004) gl_ TEXTURE_ MIN_ FILTER GL_ TEXTURE_ MAG_ FILTER
MySQL flush operation
Did you forget to register or load this tag 报错解决方法
Mysql21 user and permission management
Ansible practical Series II_ Getting started with Playbook
[free setup] asp Net online course selection system design and Implementation (source code +lunwen)
[recommended by bloggers] background management system of SSM framework (with source code)
Why can't I use the @test annotation after introducing JUnit
Ansible实战系列三 _ task常用命令
【博主推荐】SSM框架的后台管理系统(附源码)
Dotnet replaces asp Net core's underlying communication is the IPC Library of named pipes
[recommended by bloggers] asp Net WebService background data API JSON (with source code)
[ahoi2009]chess Chinese chess - combination number optimization shape pressure DP
Data dictionary in C #
Ubuntu 20.04 安装 MySQL
MySQL other hosts cannot connect to the local database
Solution: log4j:warn please initialize the log4j system properly
Classes in C #
CSDN question and answer module Title Recommendation task (II) -- effect optimization