classification_models
classification_models copied to clipboard
About pre-processing
ResNet18, preprocess_input = Classifiers.get('resnet18')
This funcition which name "preprocess_input" doing nothing, What pre-processing did you used to ? I want use this deep feature to do my work, so i think must use the same pre-processing , thinks.
Good question, do you found an answser on how to preprocess image for the resnet18 in keras ?
Hello, did you ever find an answer? I am also trying to use the pretrained Resnet18. So far I've tried using the preprocess_input function of the Resnet50 model, which is provided by Tensorflow (https://www.tensorflow.org/api_docs/python/tf/keras/applications/resnet50/preprocess_input) but I'm not getting the same results as Pytorch's pretrained Resnet18 model.
Need only be uint8 at input after image loaded with keras. That works for me.