There was a problem grading your submission. Details: must be real number, not NoneType

My code worked smoothly and the model is trained within 8 epoch, but what is this error?

There was a problem grading your submission. Details:
must be real number, not NoneType

Please click my name and message your notebook as an attachment.

@jeremytyss

The constructor for ImageDataGenerator should make use of keyword argument rescale. This is bacause, the 1st positional argument is featurewise_center. See this link.

Could you please try again with the above fix and update this thread?

1 Like

Hi @balaji.ambresh it works! Thanks for the help