runtime error
ile "/usr/local/lib/python3.8/http/client.py", line 918, in connect self.sock = self._create_connection( File "/usr/local/lib/python3.8/socket.py", line 787, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): File "/usr/local/lib/python3.8/socket.py", line 918, 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 "app.py", line 7, in <module> model2 = torch.hub.load( 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 222, in _get_cache_or_reload _validate_not_a_forked_repo(repo_owner, repo_name, ref) File "/home/user/.local/lib/python3.8/site-packages/torch/hub.py", line 181, in _validate_not_a_forked_repo response = json.loads(_read_url(Request(url, headers=headers))) File "/home/user/.local/lib/python3.8/site-packages/torch/hub.py", line 164, in _read_url with urlopen(url) as r: 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>
Container logs:
Fetching error logs...