Tensorboard AttributeError: 'ModelCheckpoint' object has no attribute 'on_train_batch_begin'
In your imports you are mixing keras
and tf.keras
, which are NOT compatible with each other, as you get weird errors like these.
So a simple solution is to choose keras
or tf.keras
, and make all imports from that package, and never mix it with the other.