Both locally, and on the cloud (kaggle) the notebook dies (forgetting any imports or variables, stopping the execution of the cell) when trying to fit a Keras model. This issue is only present when the custom layer SingularityExtractor2D
is present in the architecture.
You can find the notebook here: Github
The custom callback GateOfLearning
has been tested many times, working perfectly every time with any model architecture.
The notebook has been run on both the GPU and CPU, the problem persists.