StOchastiC_
StOchastiC_

Reputation: 133

Segmentation fault (core dumped) when training more than one Keras NN models

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.

Upvotes: 2

Views: 1396

Answers (1)

Megan Hardy
Megan Hardy

Reputation: 397

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!

Upvotes: 2

Related Questions