The Wolfram Neural Net repository offers ResNET-50, a very successful net to identify the main object in an image.
After downloading the net, I wanted to learn about the structure of the NetEncoder
NetExtract[pred, "Input"]
Mathematica tells us that the type is "Image" and the "Image Size" is 224x224.
I have two question related to this:
- How is it possible that the net can be successfully applied to e.g. larger images of e.g. 250x250. I wonder that we do not get a warning?
Does this mean that the net automatically resizes the original image (e.g. from 250x250 pixels) to 224x224?
- If one knows in advance that the images have image size, e.g. 500x500. Is it "easily" possible to change the hyperparameters of ResNet-50 for larger images?
Thank you for your time.