当前位置:网站首页>远程调试、无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怎么解决
不同的错误,同样的解决方案。添加源后,成功导入运行。
边栏推荐
- How to check whether a table is locked in mysql
- @Autowired与@Resource区别
- API 低代码开发:接口大师,一套开发、管理和提供接口的产品框架
- Chapter 10 Clustering
- Redis安装,基本命令,持久化方式,集群
- 离线数仓-用户行为采集
- 代码随想录笔记_哈希_383赎金信
- ssm various configuration templates
- yolov5调用ip摄像头时出现的问题
- Error: with open(txt_path,'r') as f: FileNotFoundError: [Errno 2] No such file or directory:
猜你喜欢
随机推荐
2022ACM夏季集训周报(五)
解决glob()返回文件排序不一致问题&onnx本地按照安装方法
[Basic Tutorial of Remote Control Development 1] Crazy Shell Open Source Formation Drone-GPIO (Remote Control Indicator Light Control)
Chemical reagent Phospholipid-polyethylene glycol-hydroxyl, DSPE-PEG-OH, DSPE-PEG-Hydroxyl, MW: 5000
Knowledge Engineering Assignment 2: Introduction to Knowledge Engineering Related Fields
动态代理工具类
Redis simple study notes
错误:with open(txt_path,‘r‘) as f: FileNotFoundError: [Errno 2] No such file or directory:
排序学习笔记(二)堆排序
腾讯50题
ModuleNotFoundError No module named ‘xxx‘可能的解决方案大全
PCL—点云数据分割
RHCSA第三天
DOM destruction and reproduction experiment
cross-domain problem solving
Redis的集群模式
LeetCode:第304场周赛【总结】
线性代数学习笔记1:何为线性代数
UserWarning:火炬。meshgrid:在以后的版本中,它将被要求通过索引ing argu
JJWT tool class









