Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data_Loader error in loading utable.npy for SkipThoughts #36

Open
divyat09 opened this issue Jan 30, 2018 · 1 comment
Open

Data_Loader error in loading utable.npy for SkipThoughts #36

divyat09 opened this issue Jan 30, 2018 · 1 comment

Comments

@divyat09
Copy link

In data_loader.py, the command to load data from a npy file:

utable = numpy.load('utable.npy')

But this results in EOFError:

File "/home/divyat/anaconda2/lib/python2.7/site-packages/numpy/lib/npyio.py", line 419, in load
pickle_kwargs=pickle_kwargs)
File "/home/divyat/anaconda2/lib/python2.7/site-packages/numpy/lib/format.py", line 640, in read_array
array = pickle.load(fp, **pickle_kwargs)
EOFError

I don't understand the error, what is happening exactly. The numpy.load() method calls a pickle.load() function which causes error. The file utable.npy is a file used for generating text embeddings using skipthoughts. I downloaded the files using the link suggested in the repository from here:

https://github.com/ryankiros/skip-thoughts#getting-started

@LBJYPY
Copy link

LBJYPY commented Sep 26, 2018

do you solve this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants