Closed assadRasheed closed 3 years ago
If we use proper image the issue will not happen
Please recommend the solution for this issue.
That can happen when img loaded is not the same type used by his examples. Do some prints when he does the loads and see the differences with yours ones (Grayscale,...). That happened to me.
Exactly,you can change your the size of image, we usualy load image that is 28*28
IndexError Traceback (most recent call last)