Process finished with exit code 134 (interrupted by signal 6: SIGABRT)

佐手、 提交于 2019-12-10 14:53:51

问题


I am working on node2vec. When I am using small dataset the code works well. But as soon as I try to run the same code on large dataset, the code crashes.

Error: Process finished with exit code 134 (interrupted by signal 6: SIGABRT).

The line which is giving error is

model = Word2Vec(walks, size=args.dimensions, window=args.window_size, min_count=0, sg=1, workers=args.workers,
                 iter=args.iter)

I am using pycharm and python 3.5.

Any idea what is happening? I could not found any post which could solve my problem.


回答1:


You are probably running out of memory. Watch a readout of the Python process size during your attempts, and optimize your walks iterable to not compose a large in-memory list.




回答2:


I have the same issue, and finally, I figured it out. The reason for me is my Keras version 2.2.0 is too high. After, I change the version to 2.0.1, it worked. Hope this version issue can help you!



来源:https://stackoverflow.com/questions/48290403/process-finished-with-exit-code-134-interrupted-by-signal-6-sigabrt

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!