python: can‘t open file ‘/tmp/nnIWfdXbiN/train.py‘: [Errno 2] No such file or directory
pytorch使用ssh连接云算力,文件夹同步后运行代码出现python: can't open file '/tmp/nnIWfdXbiN/train.py': [Errno 2] No such file or directory。然后检查一下同步的路径,不只是云文件夹,还有本地文件夹。我这边是自己的本地文件夹重命名导致不同步,出错。
·
pytorch使用ssh连接云算力,文件夹同步后运行代码出现python: can't open file '/tmp/nnIWfdXbiN/train.py': [Errno 2] No such file or directory
可以删除原解释器
然后检查一下同步的路径,不只是云文件夹,还有本地文件夹
我这边是自己的本地文件夹重命名导致不同步,出错

更多推荐


所有评论(0)