Maluuba/nlg-eval

_pickle.UnpicklingError: pickle data was truncated

Dyer233 opened this issue · 1 comments

Traceback (most recent call last):
File "/home/admin01/test-search/HS-B/eval/ast2code.py", line 367, in
nlgeval = NLGEval()
File "/home/admin01/anaconda3/envs/pingu/lib/python3.9/site-packages/nlg_eval-2.3-py3.9.egg/nlgeval/init.py", line 202, in init
self.load_skipthought_model()
File "/home/admin01/anaconda3/envs/pingu/lib/python3.9/site-packages/nlg_eval-2.3-py3.9.egg/nlgeval/init.py", line 236, in load_skipthought_model
model = skipthoughts.load_model()
File "/home/admin01/anaconda3/envs/pingu/lib/python3.9/site-packages/nlg_eval-2.3-py3.9.egg/nlgeval/skipthoughts/skipthoughts.py", line 60, in load_model
utable, btable = load_tables()
File "/home/admin01/anaconda3/envs/pingu/lib/python3.9/site-packages/nlg_eval-2.3-py3.9.egg/nlgeval/skipthoughts/skipthoughts.py", line 81, in load_tables
btable = numpy.load(os.path.join(path_to_tables, 'btable.npy'), allow_pickle=True, encoding='bytes')
File "/home/admin01/anaconda3/envs/pingu/lib/python3.9/site-packages/numpy/lib/npyio.py", line 440, in load
return format.read_array(fid, allow_pickle=allow_pickle,
File "/home/admin01/anaconda3/envs/pingu/lib/python3.9/site-packages/numpy/lib/format.py", line 748, in read_array
array = pickle.load(fp, **pickle_kwargs)
_pickle.UnpicklingError: pickle data was truncated

Thanks for trying out our library. Please validate that the setup was successful: https://github.com/Maluuba/nlg-eval#validate-the-setup-optional