当前位置:   article > 正文

成功解决:http.client.RemoteDisconnected: Remote end closed connection without response_remotedisconnected('remote end closed connection w

remotedisconnected('remote end closed connection without response')

成功解决:http.client.RemoteDisconnected: Remote end closed connection without response

问题描述

运行程序超时,有时可以正常运行,有时候显示如下错误:

http.client.RemoteDisconnected: Remote end closed connection without response

(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 "/
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/喵喵爱编程/article/detail/912663
推荐阅读
相关标签
  

闽ICP备14008679号