I am training a mask r-cnn model refer to this rep on github: https://github.com/matterport/Mask_RCNN
I meet a problem which seems to be an issue of using Keras, so
The same problem occurs with me while using keras with CNN-LSTM. The code was working fine on GPU server, but when I tried to run it on my local machine, got this weird error.
The following trick works for me.
Solution: clear variables and restart your kernel. This work for me. Maybe someone else getting to exactly the same problem what I am going through will be helpful.