-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
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
get_preprocessing_fn #866
Labels
Comments
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
Expected to be in range 0..255, always the same |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
preprocess_input = get_preprocessing_fn('resnet18', pretrained='imagenet')
...
img = preprocess_input(img)
What range of pixels should i put there? [0, 1] or [0,255]. Does it depends on specific preprocessing function? Or it's always the same rule?
The text was updated successfully, but these errors were encountered: