flyyufelix / cnn_finetune

Fine-tune CNN in Keras
https://flyyufelix.github.io/2016/10/08/fine-tuning-in-keras-part2.html
MIT License
937 stars 413 forks source link

the input size of image is fixed? #46

Open InkdyeHuang opened 6 years ago

GreatNewHope commented 6 years ago

I am pretty sure it is not. I mean, you can train the cnn with almost any size that you want, but it has to be the same throught all training, validation and testing. It is important to remember that images have to be of a minimum size depending on the model (inception minimum is larger, vgg16 is lower). Refer to the original documentation of the models to read more about this.