当前位置:网站首页>The jupyter notebook kernel hangs up frequently and needs to be restarted
The jupyter notebook kernel hangs up frequently and needs to be restarted
2022-06-30 03:44:00 【stone_ tigerLI】
Use pytorch Training models , Every time when it comes to training, it shows that the kernel is hung up , Need to restart

Command prompt display :
According to the error information , Already exist libiomp5md.dll, uninitialized .
terms of settlement
1、 Add the following code to the code line
import os
os.environ["KMP_DUPLICATE_LIB_OK"]="TRUE"
2、 According to your anaconda The installation path , find torch Backup files for , Delete ( It is recommended to change the file name or cut it out first , Run your code to see if it still reports an error , If there is no problem, delete again )
I was in :C:\ProgramData\Anaconda3\Lib\site-packages\~orch\lib
Some may be in C:\ProgramData\Anaconda3\envs\********\Lib\site-packages\~orch\lib
边栏推荐
- [punch in - Blue Bridge Cup] day 2 --- format output format, ASCII
- SDS understanding in redis
- 云原生——Web实时通信技术之Websocket
- Deep learning: implementation skills of deep neural network
- 4-4 beauty ranking (10 points)
- Magical Union
- C#【高级篇】 C# 泛型(Generic)【需进一步补充:泛型接口、泛型事件的实例】
- December2020 - true questions and analysis of C language (Level 2) in the youth level examination of the Electronic Society
- Node-RED系列(二八):基于OPC UA节点与西门子PLC进行通讯
- How to view Tencent's 2022 school recruitment salary, the total contract of cabbage is 40W?
猜你喜欢

Redis高并发分布式锁(学习总结)

Node-RED系列(二八):基于OPC UA节点与西门子PLC进行通讯

专升本语文资源整理

巧用 Bitmap 实现亿级海量数据统计

共124篇!墨天轮“高可用架构”干货文档分享(含Oracle、MySQL、PG)

【云原生】AI云开发平台——AI Model Foundry介绍(开发者可免费体验AI训练模型)

声网自研传输层协议 AUT 的落地实践丨Dev for Dev 专栏

ThingsBoard教程(二三):在规则链中计算二个设备的温度差

UML图与List集合

51 single chip microcomputer indoor environment monitoring system, mq-2 smoke sensor and DHT11 temperature and humidity sensor, schematic diagram, C programming and simulation
随机推荐
A GPU approach to particle physics
A minimalist way to integrate databinding into activity/fragment
Hisense A7 ink screen mobile phone cannot be started
[punch in - Blue Bridge Cup] day 3 --- slice in reverse order list[: -1]
2021-07-05
Postman learning sharing
ReSharper 7. Can X be used with vs2013 preview? [off] - can resharper 7 x be used with VS2013 preview? [closed]
【作业】2022.5.23 MySQL入门
第2章 控制结构和函数(编程题)
解决navicat连接数据库遇到的问题
dbt产品初体验
【论文阅读|深读】DANE:Deep Attributed Network Embedding
The next change direction of database - cloud native database
UML diagrams and list collections
Feign 坑
你清楚AI、数据库与计算机体系
[punch in - Blue Bridge Cup] day 2 --- format output format, ASCII
Wang Shuang - assembly language learning summary
Linked list: insert a node in the head
Redis在windows系统中使用