-
Notifications
You must be signed in to change notification settings - Fork 520
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
Resize Images at Read in (imread) #32
Comments
I've also encounted this issue, my solution is to transform before dataloader:
|
Thank you for the solution. |
I observe that such resize operation would change the FID score significantly. |
The InceptionV3 model in PyTorch is trained on ImageNet. According to the official documentation, it uses the mean and standard deviation of ImageNet for normalization. However, if you directly use |
https://pytorch.org/vision/stable/models/generated/torchvision.models.inception_v3.html |
Hey there,
I ran into problems as my images are of variable size (couldn't convert the list read-in to np.array).
Does it make sense to consider resizing images in imread?
Image.open(filename).resize((299, 299))
Best,
Mike
The text was updated successfully, but these errors were encountered: