Handwritten digit recognition using cnn

getting some error here is the link
https://colab.research.google.com/drive/1YBg4t8yajUc4MOpcT7WyEguWwe4SbSFC?usp=sharing#scrollTo=jBa3GYkHbiCg

Hey @shivani_jainEtW, I checked your code and found that the error is coming because of the following line :

height, width = inputImage.shape

So the problem here is that inputImage.shape will return a single tuple which can be stored in just a single variable and not both height and width. So the correct way to do this would be something like this

height,width = inputImage.shape[0], inputImage.shape[1]

I hope this clears your doubt ! :slightly_smiling_face:
Happy Learning ! :+1: