Skip to content Skip to sidebar Skip to footer

Typeerror: Fit_generator() Got An Unexpected Keyword Argument 'nb_val_samples'

I am trying to make a handwriting classifier by referencing the article: https://github.com/priya-dwivedi/Deep-Learning/blob/master/handwriting_recognition/English_Writer_Identific

Solution 1:

After Keras 2.0, nb_val_samples keyword coded as validation_steps. Also, I saw nb_epoch keyword in your code. It coded as epochs.

If you don't want to change your keywords, simply downgrade your Keras into below 2.0 version

Post a Comment for "Typeerror: Fit_generator() Got An Unexpected Keyword Argument 'nb_val_samples'"