'Sequential' object has no attribute 'stop'


I’m getting the following error:
‘Sequential’ object has no attribute ‘stop’
when trying to run the model.
it fails on the callback when trying to early stop.

—> 11 self.model.stop.training = True
not sure what’s the issue.

Hello @Rafi_Lavi ,

It will not be self.model.stop.training = True.
There will be underscore. It will be :
self.model.stop_training = True

With regards,
Nilosree Sengupta