成功解决:http.client.RemoteDisconnected: Remote end closed connection without response
问题描述
运行程序超时,有时可以正常运行,有时候显示如下错误:文章来源:https://www.toymoban.com/news/detail-511140.html
http.client.RemoteDisconnected: Remote end closed connection without response
。文章来源地址https://www.toymoban.com/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 "/
到了这里,关于成功解决:http.client.RemoteDisconnected: Remote end closed connection without response的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!