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

Errors in Word Embedding Vector file. #10

Open
Nazzish opened this issue Oct 26, 2018 · 2 comments
Open

Errors in Word Embedding Vector file. #10

Nazzish opened this issue Oct 26, 2018 · 2 comments

Comments

@Nazzish
Copy link

Nazzish commented Oct 26, 2018

I am facing issues in the word embedding vector file. Please check if it has some errors after line number 500000, and I am unable to download the new file form the link http://kinloch.inf.ed.ac.uk/public/Refresh-NAACL18-1-billion-benchmark-wordembeddings.tar.gz provided in the README.md (403 error, FORBIDDEN)

@Nazzish
Copy link
Author

Nazzish commented Oct 26, 2018

I'm getting the following error repeatedly.

Traceback (most recent call last):
File "document_summarizer_training_testing.py", line 282, in
tf.app.run()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 30, in run
sys.exit(main(sys.argv))
File "document_summarizer_training_testing.py", line 277, in main
train()
File "document_summarizer_training_testing.py", line 89, in train
vocab_dict, word_embedding_array = DataProcessor().prepare_vocab_embeddingdict()
File "/home/cvml/Documents/Enforcement/ReRankZip/Refresh-master/data_utils.py", line 339, in prepare_vocab_embeddingdict
embeddata = [float(item) for item in linedata[1:]][0:FLAGS.wordembed_size]
ValueError: invalid literal for float(): .0950.099540928

Please Guide

@shashiongithub
Copy link
Collaborator

Our server was down for some reason. That is why you were not able to download those files. I have raised the issue. It should be up and running in few minutes.

Is your second problem related, or did I misunderstand?

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