当前位置:网站首页>远程调试、无cuDnn、自定义模块无法导入问题记录
远程调试、无cuDnn、自定义模块无法导入问题记录
2022-08-02 03:21:00 【& Tom】
说明:记录自己的错误,慢慢来,比较快。
1. Pycharm远程调试出现错误:/root/miniconda3/bin/python: can't open file '/root/autodl-tmp/mian.py': [Errno 2] No such file or directory!
这里先给一个链接:博主也是这种错误,不过他是另一种解决方案。
https://blog.csdn.net/qq_35056292/article/details/118436981
这里同时也给出我自己的解决办法:
(1).首先,找出错误原因:

注意:这里的路径映射,我的错误出现在第一行远程路径中的路径与来自部署的配置中的远程路径不同,导致找不到执行文件。
(2). 改正远程路径即可。
2. 在调试时出现错误:RuntimeError: Unable to find a valid cuDNN algorithm to run convolution
先给参考链接:Unable to find a valid cuDNN algorithm to run convolution_weixin_43615569的博客-CSDN博客
在这个博客的评论中找到一条意见,点醒了我。
评论说,通常由于显存不足引起。换上3060-12G之后果然成功运行。不过3060慢的出奇。。。
3. 在工程模块包中新建.py文件,导入后运行报错:ModuleNotFoundError: No module named ‘XXX’。
以前建文件直接可以用,这次怎么不行呢。后来看到一下连接解决办法:
pycharm中unresolved reference怎么解决(配置问题)_qfqf123456的博客-CSDN博客_unresolvedreference怎么解决
不同的错误,同样的解决方案。添加源后,成功导入运行。
边栏推荐
- 【深度学习】从LeNet-5识别手写数字入门深度学习
- MySQL占用CPU过高,排查原因及解决的多种方式法
- STL entry basics map and set containers
- 基于libmodbus库实现modbus TCP/RTU通信
- [Basic Tutorial of Remote Control Development 1] Crazy Shell Open Source Formation Drone-GPIO (Remote Control Indicator Light Control)
- LeetCode:1161. 最大层内元素和【BFS层序遍历】
- 知识问答与知识会话的区别
- Chapter 10 Clustering
- Double Strings (don't always forget substr)
- subprocess.CalledProcessError: Command ‘pip install ‘thop‘‘ returned non-zero exit status 1.
猜你喜欢

青蛙跳台阶:我如何得知它是一道斐波那契数列题?——应用题破题“三板斧”

DAY-1 | 求两个正整数的最大公约数与最小公倍数之和——辗转相除法

Redis的集群模式

基于libmodbus库实现modbus TCP/RTU通信

day11--shell脚本

Phospholipid-polyethylene glycol-hydrazide, DSPE-PEG-Hydrazide, DSPE-PEG-HZ, MW: 5000
![[详解C语言]一文带你玩转C语言小游戏---三子棋](/img/a7/1266ec8d1cc838a06fe4ff6810c0de.png)
[详解C语言]一文带你玩转C语言小游戏---三子棋

化学试剂磷脂-聚乙二醇-羟基,DSPE-PEG-OH,DSPE-PEG-Hydroxyl,MW:5000
![[Basic Tutorial of Remote Control Development 1] Crazy Shell Open Source Formation Drone-GPIO (Remote Control Indicator Light Control)](/img/da/5f6b1ed89cb3fed3cbe6aea840f473.png)
[Basic Tutorial of Remote Control Development 1] Crazy Shell Open Source Formation Drone-GPIO (Remote Control Indicator Light Control)

排序学习笔记(二)堆排序
随机推荐
nucleo stm32 h743 FREERTOS CUBE MX配置小记录
【C语言万字长文】 宏定义 结构体 共用体 内存对齐知识点总结
离线数仓-用户行为采集
IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boo
2022年比若依更香的开源项目
np.isnan ()
Usage of JOIN in MySQL
[详解C语言]一文带你玩转C语言小游戏---扫雷
Chemical reagent Phospholipid-polyethylene glycol-hydroxyl, DSPE-PEG-OH, DSPE-PEG-Hydroxyl, MW: 5000
【装机】老毛桃的安装及使用
The @autowired distinguished from @ the Resource
mysql中exists的用法详解
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
String comparison size in MySQL (date string comparison problem)
RHCSA第二天
@Configuration详解
ThunderBirde无法登录问题、pycharm调试一直收集数据、RuntimeError: CUDA error: device-side assert triggered等疑难杂症解决
Debian 10 NTP 服务配置
UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the index ing argu
mysql卸载详细教程