I seem to be getting an attribute error: “myCallback” object has no attribute ‘set_model’ from the below code:
Please click my name and send your notebook as an attachment.
Thank you sending now
Did you manage to fix it? I have the same problem
Please click my name and send your notebook as an attachment.
[code reference removed]
Here’s my callback and train_mnist function. My issue was I wasn’t inheriting from the correct class for tf.keras.callback.Callback
2 Likes
I am having the same problem . please tell me how to fix it.
Does your callback inherit from tf.keras.callbacks.Callback
?