Solved by ptrblck in post #2 
              
              
                Could you try to run it via gdb and see, if you would get any proper error? 
gdb --args python train.py --model....
...
run
...
bt