当前位置:网站首页>远程调试、无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怎么解决
不同的错误,同样的解决方案。添加源后,成功导入运行。
边栏推荐
- ModuleNotFoundError No module named ‘xxx‘可能的解决方案大全
- mysql中如何查看表是否被锁
- [Basic Tutorial of Remote Control Development 1] Crazy Shell Open Source Formation Drone-GPIO (Remote Control Indicator Light Control)
- 【深度学习】从LeNet-5识别手写数字入门深度学习
- Redis笔记基础篇:6分钟看完Redis的八种数据类型
- SSM integration
- debian 10 nat 与路由转发
- 分布式领域最重要的一篇论文,到底讲了什么?
- sh: 1: curl: not found
- DSPE-PEG-DBCO 磷脂-聚乙二醇-二苯并环辛炔 一种线性杂双官能聚乙二醇化试剂
猜你喜欢
化学试剂磷脂-聚乙二醇-羟基,DSPE-PEG-OH,DSPE-PEG-Hydroxyl,MW:5000
Deveco studio 鸿蒙app访问网络详细过程(js)
二维数组实战项目--------《三子棋》
@Configuration详解
[详解C语言]一文带你玩转C语言小游戏---三子棋
JVM学习----垃圾回收--G1
【深度学习】从LeNet-5识别手写数字入门深度学习
API 低代码开发:接口大师,一套开发、管理和提供接口的产品框架
Phospholipid-polyethylene glycol-hydrazide, DSPE-PEG-Hydrazide, DSPE-PEG-HZ, MW: 5000
第十一天&shell脚本
随机推荐
DOM destruction and reproduction experiment
JJWT工具类
【博学谷学习记录】超强总结,用心分享 | 软件测试 接口测试基础
Chemical reagent Phospholipid-polyethylene glycol-hydroxyl, DSPE-PEG-OH, DSPE-PEG-Hydroxyl, MW: 5000
IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boo
DSPE-PEG-PDP,DSPE-PEG-OPSS,磷脂-聚乙二醇-巯基吡啶供应,MW:5000
数据库操作作业
知识工程作业2:知识工程相关领域介绍
Double Strings (don't always forget substr)
oracle inner join and outer join
Dynamic proxy tool class
pyppeteer使用样例脚本
排序学习笔记(二)堆排序
[Remote Control Development Basic Tutorial 3] Crazy Shell Open Source Formation UAV-ADC (Joystick Control)
docker 安装 sqlserver中的坑点
MySQL中的各种锁(行锁、间隙锁、临键锁等等LBCC)
科研试剂DMPE-PEG-Mal 二肉豆蔻酰磷脂酰乙醇胺-聚乙二醇-马来酰亚胺
小程序组件总结
About cross-domain issues
AttributeError: ‘Upsample‘ object has no attribute ‘recompute_scale_factor‘