We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For example, I'm trying out resnet152 and the preprocess_function doesn't seem to do anything. Just giving back the same output.
resnet152
ResNet18, preprocess_input = Classifiers.get('resnet18') preprocess_input(np.array([[1000,1],[-2,5]])) Out[27]: array([[1000, 1], [ -2, 5]])
The text was updated successfully, but these errors were encountered:
As I remember these models were trained without any preprocessing.
Thier first layer is BatchNorm:
# resnet bottom x = layers.BatchNormalization(name='bn_data', **no_scale_bn_params)(img_input)
Sorry, something went wrong.
Interesting. I was just basing it on this line: ResNet18, preprocess_input = Classifiers.get('resnet18')
ResNet18, preprocess_input = Classifiers.get('resnet18')
Yes. You do it right. preprocess_input for these models returns input as is.
preprocess_input
No branches or pull requests
For example, I'm trying out
resnet152
and the preprocess_function doesn't seem to do anything. Just giving back the same output.The text was updated successfully, but these errors were encountered: