SenticNet / personality-detection

Implementation of a hierarchical CNN based model to detect Big Five personality traits
http://sentic.net/deep-learning-based-personality-detection.pdf
MIT License
475 stars 167 forks source link

process_data.py运行最后报memoryError,我是8G,怎么解决? #14

Closed ICfree closed 5 years ago

ICfree commented 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 太大 请教怎么解决??? 大家都是怎么跑的