runtime error
, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/.local/lib/python3.8/site-packages/torch/hub.py", line 142, in _parse_repo_info with urlopen(f"https://github.com/{repo_owner}/{repo_name}/tree/main/"): File "/usr/local/lib/python3.8/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/usr/local/lib/python3.8/urllib/request.py", line 525, in open response = self._open(req, data) File "/usr/local/lib/python3.8/urllib/request.py", line 542, in _open result = self._call_chain(self.handle_open, protocol, protocol + File "/usr/local/lib/python3.8/urllib/request.py", line 502, in _call_chain result = func(*args) File "/usr/local/lib/python3.8/urllib/request.py", line 1397, in https_open return self.do_open(http.client.HTTPSConnection, req, File "/usr/local/lib/python3.8/urllib/request.py", line 1357, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution> The above exception was the direct cause of the following exception: Traceback (most recent call last): File "app.py", line 10, in <module> model = torch.hub.load('AK391/Pytorch-HarDNet', 'hardnet68', pretrained=True) File "/home/user/.local/lib/python3.8/site-packages/torch/hub.py", line 555, in load repo_or_dir = _get_cache_or_reload(repo_or_dir, force_reload, trust_repo, "load", File "/home/user/.local/lib/python3.8/site-packages/torch/hub.py", line 199, in _get_cache_or_reload repo_owner, repo_name, ref = _parse_repo_info(github) File "/home/user/.local/lib/python3.8/site-packages/torch/hub.py", line 156, in _parse_repo_info raise RuntimeError( RuntimeError: It looks like there is no internet connection and the repo could not be found in the cache (/home/user/.cache/torch/hub)
Container logs:
Fetching error logs...