当前位置:网站首页>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
边栏推荐
- 第2章 控制结构和函数(编程题)
- Tidb 6.0: rendre les GRT plus efficaces 丨 tidb Book Rush
- 4-5 count words and spaces (15 points)
- TiDB 6.0:讓 TSO 更高效丨TiDB Book Rush
- NER中BiLSTM-CRF解读score_sentence
- [ten minutes] manim installation 2022
- Redis中的SDS理解
- 共124篇!墨天轮“高可用架构”干货文档分享(含Oracle、MySQL、PG)
- Number of students from junior college to Senior College (4)
- Wang Shuang - assembly language learning summary
猜你喜欢
Redis中的Hash设计和节省内存数据结构设计
Buffer pool of MySQL notes
专升本高数(三)
A GPU approach to particle physics
Chapter 2 control structure and function (programming problem)
Tidb 6.0: rendre les GRT plus efficaces 丨 tidb Book Rush
Linked list: insert a node in the head
Use common fileUpload to upload files
Hisense A7 ink screen mobile phone cannot be started
Redis高并发分布式锁(学习总结)
随机推荐
DO280私有仓库持久存储与章节实验
Laravel9 local installation
Buffer pool of MySQL notes
Global and Chinese market of bulk acoustic wave devices 2022-2028: Research Report on technology, participants, trends, market size and share
[0x0] open questions left by the principal
如何利用FME 创建自己的功能软件
Note: load the configuration file as a byte stream and get the resources in it
【常见问题】页面跨域和接口跨域
Use common fileUpload to upload files
MySQL performance optimization (6): read write separation
.NET 7 的 JWT 配置太方便了!
深入浅出掌握grpc通信框架
C [advanced part] C generic [need to be further supplemented: generic interfaces and instances of generic events]
【笔记】2022.6.7 数据分析概论
Feign 坑
QT中foreach的使用
Litjson parses the generated JSON file and reads the dictionary in the JSON file
专升本高数(三)
Wang Shuang - assembly language learning summary
[note] on May 27, 2022, MySQL is operated through pychart