vinhkhuc / MemN2N-babi-python

End-To-End Memory Networks for bAbI question-answering tasks
Other
578 stars 145 forks source link

Memory Error #5

Closed PandaWhoCodes closed 7 years ago

PandaWhoCodes commented 7 years ago

I keep getting this error

 File "C:\Users\test\Desktop\MemN2N-babi-python\demo\qa.py", line 55, in train
    train_story, train_questions, train_qstory = parse_babi_task(train_data_path, dictionary, False)
  File "util.py", line 37, in parse_babi_task
    story     = np.zeros((20, 500, len(data_files) * 3500), np.int16)
MemoryError
vinhkhuc commented 7 years ago

Hi reach2ashish, Looks like it's related to "not enough memory" reported in the issue #3.

PandaWhoCodes commented 7 years ago

I have about 5 gigs of free RAM Ill still test it on a higher RAM machine and get back to you Thanks for the quick response.

vinhkhuc commented 7 years ago

Looks like it got resolved. Closing now.