I've been playing around with Tensorflow in Kaggle. It works fine until I enable multiprocessing, and then it deadlocks in the first epoch, just printing
Epoch 1/100
and then stalling.
There's a public MWE here. If you remove use_multiprocessing=True
from the model.fit_generator
on the last line, it works fine. I would be very grateful if anyone had any idea what was causing the deadlock & how I might be able to work around it.