Skip to content Skip to sidebar Skip to footer

AttributeError: 'list' Object Has No Attribute 'set_model'

I'm trying to use early stopping and Model check points to save the best model while training a deep convolution neural network. However, I get the following error: callback.set_m

Solution 1:

You are correct about callbacks but earlystop is already a list here. Remove the brackets around [EarlyStopping(..)] to fix the problem.


Post a Comment for "AttributeError: 'list' Object Has No Attribute 'set_model'"