Segmentation fault (core dumped) when training more than one Keras NN models
If you run K.clearsession() on a GPU with Keras 2, you may get a segmentation fault.
If you have this in your code, try removing it!
I am optimizing the hyper-parameters of my neural-network, for which I am recursively training the network using different hyper-parameters. It works as expected until after some iterations, when creating a new network for training, it dies with the error "Segmentation fault (core dumped)".
Furthermore, I am using GPU for training and I am doing this on a Nvidia Jetson TX2 and Python3.5. Also, I am using Keras with TensorFlow backend.