@thnkim can you run the training with gdb --args python [your regular python arguments] , and when it segfaults, it stops in gdb. then you can type where in the gdb console, and it will give information about the issue. Can you paste the stack trace / information that gdb gives?