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

ValueError: could not convert string to float #8

Open
derenlei opened this issue Aug 9, 2018 · 0 comments
Open

ValueError: could not convert string to float #8

derenlei opened this issue Aug 9, 2018 · 0 comments

Comments

@derenlei
Copy link

derenlei commented Aug 9, 2018

@bradleypallen I'm not able to run the model from command line

Processing quora_duplicate_questions.tsv
Question pairs: 404290
Words in index: 95596
Processing glove.840B.300d.txt
Traceback (most recent call last):
File "keras-quora-question-pairs.py", line 91, in
embedding = np.asarray(values[1:], dtype='float32')
File "/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/numpy/core/numeric.py", line 492, in asarray
return array(a, dtype, copy=False, order=order)
ValueError: could not convert string to float:

Thanks.

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

1 participant