I tried to replace the training and validation data with local images. But when running the training code, it came up with the error :
ValueError: Ca
Changing
loss='sparse_categorical_crossentropy'
to
loss='categorical_crossentropy'
worked for me.