I created a model that works fine. It’s a model of clothes classification, unfortunately, I don’t know how to use it with pictures that I download from the internet and they don’t share the same size. Do you know how to do it?
This is what I tried and it does not work.
from PIL import Image
import numpy as np
image = Image.open(r’C:\Users\tripa\OneDrive\desktop\remera.jpg’)
new_image = image.resize((28, 28))
pred_probs=model_14.predict(new_image)
print(pred_probs)