@khushboo28 wrote:
This is with respect to this link :
A Comprehensive Guide to Understand and Implement Text Classification in PythonI am getting when I execute the
load the pre-trained word-embedding vectors
embeddings_index = {}
for i, line in enumerate(open(‘data/wiki-news-300d-1M.vec’)):
values = line.split()
embeddings_index[values[0]] = numpy.asarray(values[1:], dtype=‘float32’)I get the following error :
embeddings_index-- Traceback (most recent call last):
File “f.py”, line 87, in
print(‘embeddings_index–’,embeddings_index)
MemoryError
Posts: 1
Participants: 1