You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
path = '../path_to_glove/file.txt'
read_file = open(path, 'r', encoding="utf-8")
for i, el in enumerate(read_file):
if len(el.split())>301:
print(i)
print(len(el.split()))
it generated:
52343
303
I was expecting all vectors to be of the same size. I am on Win 7 enterprise with python 3.5
It also causes error in loadEmbedding_rand function.
The text was updated successfully, but these errors were encountered:
I downloaded GloVe from http://nlp.stanford.edu/data/glove.840B.300d.zip and ran:
it generated:
I was expecting all vectors to be of the same size. I am on Win 7 enterprise with python 3.5
It also causes error in loadEmbedding_rand function.
The text was updated successfully, but these errors were encountered: