问题
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