I'm new to models like VGG16. I've been searching information about this model and I still have doubts about it. I have 10000 images of different sizes to train the model (2 classes), so I decided to use an image size of 86x86 because of computational limitations and it's near average of every image size. So I did that:
base_model16 = VGG16(weights='imagenet', include_top=False, input_shape=(86,86,3))
And for generators:
datagen = ImageDataGenerator(preprocessing_function=preprocess_vgg16)
train_generator = datagen.flow_from_directory(path_train,
target_size=(86,86),
color_mode='rgb',
batch_size = 128,
class_mode='categorical',
shuffle=True)
I read that VGG16 was trained with 224x224 and I understood that we can use other size, but can someone confirm if i am doing it right? Because i am using imagenet weights and preprocess_vgg16 and it was with 224x224. Sorry if anyone has already asked this question before but i need help understanding it please.
Thank you.