Closed ICfree closed 5 years ago
python process_data.py ./GoogleNews-vectors-negative300.bin ./essays.csv ./mairesse.csv loading data... data loaded! number of status: 2467 vocab size: 30391 max sentence length: 149 loading word2vec vectors... Traceback (most recent call last): File "process_data.py", line 171, in w2v = load_bin_vec(w2v_file, vocab) File "process_data.py", line 104, in load_bin_vec word.append(ch) MemoryError 好像是因为读取的二进制数据集 ./GoogleNews-vectors-negative300.bin 太大 请教怎么解决??? 大家都是怎么跑的
python process_data.py ./GoogleNews-vectors-negative300.bin ./essays.csv ./mairesse.csv loading data... data loaded! number of status: 2467 vocab size: 30391 max sentence length: 149 loading word2vec vectors... Traceback (most recent call last): File "process_data.py", line 171, in
w2v = load_bin_vec(w2v_file, vocab)
File "process_data.py", line 104, in load_bin_vec
word.append(ch)
MemoryError
好像是因为读取的二进制数据集 ./GoogleNews-vectors-negative300.bin 太大
请教怎么解决???
大家都是怎么跑的