sairin1202 / Commonsense-Knowledge-Aware-Concept-Selection-For-Diverse-and-Informative-Visual-Storytelling

The implement of Commonsense Knowledge Aware Concept Selection For Diverse and Informative Visual Storytelling
MIT License
12 stars 2 forks source link

When I run the train.py in visualstorytelling, errors happens as list, do you have the solution?: #6

Open wtkszzz opened 2 years ago

wtkszzz commented 2 years ago

Downloading: "https://github.com/pytorch/fairseq/archive/master.zip" to /root/.cache/torch/hub/master.zip Traceback (most recent call last): File "/opt/data/private/test14/liushidi/code/a.py", line 2, in bart = torch.hub.load('pytorch/fairseq', 'bart.large') File "/opt/conda/envs/liushidi/lib/python3.7/site-packages/torch/hub.py", line 368, in load repo_or_dir = _get_cache_or_reload(repo_or_dir, force_reload, verbose) File "/opt/conda/envs/liushidi/lib/python3.7/site-packages/torch/hub.py", line 141, in _get_cache_or_reload download_url_to_file(url, cached_file, progress=False) File "/opt/conda/envs/liushidi/lib/python3.7/site-packages/torch/hub.py", line 425, in download_url_to_file u = urlopen(req) File "/opt/conda/envs/liushidi/lib/python3.7/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/opt/conda/envs/liushidi/lib/python3.7/urllib/request.py", line 525, in open response = self._open(req, data) File "/opt/conda/envs/liushidi/lib/python3.7/urllib/request.py", line 543, in _open '_open', req) File "/opt/conda/envs/liushidi/lib/python3.7/urllib/request.py", line 503, in _call_chain result = func(*args) File "/opt/conda/envs/liushidi/lib/python3.7/urllib/request.py", line 1393, in https_open context=self._context, check_hostname=self._check_hostname) File "/opt/conda/envs/liushidi/lib/python3.7/urllib/request.py", line 1353, in do_open r = h.getresponse() File "/opt/conda/envs/liushidi/lib/python3.7/http/client.py", line 1373, in getresponse response.begin() File "/opt/conda/envs/liushidi/lib/python3.7/http/client.py", line 319, in begin version, status, reason = self._read_status() File "/opt/conda/envs/liushidi/lib/python3.7/http/client.py", line 280, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/opt/conda/envs/liushidi/lib/python3.7/socket.py", line 589, in readinto return self._sock.recv_into(b) File "/opt/conda/envs/liushidi/lib/python3.7/ssl.py", line 1071, in recv_into return self.read(nbytes, buffer) File "/opt/conda/envs/liushidi/lib/python3.7/ssl.py", line 929, in read return self._sslobj.read(len, buffer) ssl.SSLError: [SSL: KRB5_S_TKT_NYV] unexpected eof while reading (_ssl.c:2570)