ResNet-50-CBAM-PyTorch
ResNet-50-CBAM-PyTorch copied to clipboard
Please tell me how to deal with RuntimeError: connect() timed out
将train.py中的os.envion['MASTER_ADDR']='xxxx'和os.envion['MASTER_PORT']='xxxx',分别替换为自己电脑的IP地址和端号试试。
谢谢你,我会尝试,但如果是在学校的集群服务器上也是同等替换吗
------------------ 原始邮件 ------------------ 发件人: "Ugenteraan/ResNet-50-CBAM-PyTorch" @.>; 发送时间: 2022年4月4日(星期一) 晚上9:30 @.>; @.@.>; 主题: Re: [Ugenteraan/ResNet-50-CBAM-PyTorch] Please tell me how to deal with RuntimeError: connect() timed out (Issue #5)
将train.py中的os.envion['MASTER_ADDR']='xxxx'和os.envion['MASTER_PORT']='xxxx',分别替换为自己电脑的IP地址和端号试试。
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
请问这种错误如何解决啊?好久都没解决,没办法了,特来请教
[email protected]
请问这种错误如何解决啊?好久都没解决,没办法了,特来请教 [email protected]
你可以试试把“class_idx = self.classes.index(x.split('/')[-2])”中得“/”改为“\\”。
请问这种错误如何解决啊?好久都没解决,没办法了,特来请教 [email protected]
你可以试试把“class_idx = self.classes.index(x.split('/')[-2])”中得“/”改为“\”。
多谢老大,修改了相关的代码和一些配置后可以运行了,多谢老大的贡献。还有一个问题,就是对老大代码进行学习后,新建了一个文件夹放了几张图片,想试着进行热力图绘制,但出现了模型加载正常,但并不运行的情况,如图
请教一下老大,可有解决之道,刚入行的小白,不太懂(哭)