You have to pass the image through the transformations before you feed it into the classifier. This was discussed at length here: How do we use our model against a specific image?
3 Likes
You have to pass the image through the transformations before you feed it into the classifier. This was discussed at length here: How do we use our model against a specific image?