Suggestion - Issue a warning when using pre-trained model without their corresponding preprocessing

Issue a warning when using pre-trained model without their corresponding preprocessing. For exemple if the model uses the pre-trained VGG16 model and in the image option the pretrained preprocessing is not set to VGG16 --> issue a warning.

You are right. It is almost always needed to use to the same preprocessing option while using pre-trained model. I am thinking we should use that by default unless that option is manually set by user to some other value.

Do you see any issue with that ?

Not sure, but a warning would avoid forgetting to set it properly.