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
I have solved this error. The labels were in onehot encoding, so it was in dimension of [,10], rather than [,1]. So I used tf.argmax().
onehot
[,10]
[,1]
tf.argmax()