成功解決:http.client.RemoteDisconnected: Remote end closed connection without response
問題描述
運(yùn)行程序超時(shí),有時(shí)可以正常運(yùn)行,有時(shí)候顯示如下錯(cuò)誤:文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-511140.html
http.client.RemoteDisconnected: Remote end closed connection without response
。文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-511140.html
(virtual) lihuanyu@ubuntu-NF5468M5:~/code/03AdaBins$ python infer.py
Loading base model ()...Traceback (most recent call last):
File "infer.py", line 175, in <module>
inferHelper = InferenceHelper()
File "infer.py", line 75, in __init__
model = UnetAdaptiveBins.build(n_bins=256, min_val=self.min_depth, max_val=self.max_depth)
File "/home/lihuanyu/code/03AdaBins/models/unet_adaptive_bins.py", line 125, in build
basemodel = torch.hub.load('rwightman/gen-efficientnet-pytorch', basemodel_name, pretrained=True)
File "/
到了這里,關(guān)于成功解決:http.client.RemoteDisconnected: Remote end closed connection without response的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!