Skip to content
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

Fix Inception model to match Tensorflow's FID Inception model #16

Merged
merged 2 commits into from
May 27, 2019

Conversation

mseitzer
Copy link
Owner

This change adapts the weights used by the model to the ones in the
original Tensorflow implementation. The Inception weights available in
torchvision do not correspond to the ones used by Tensorflow's FID.

Furthermore, some subtle differences in the model implementation were
changed to now match the Tensorflow implementation.

Overall, I now verified that the two models give exactly the same results when inputting exactly the same input image. This leaves different image loaders and interpolation algorithms as a possible source of introducing error. I also have not tested how the behavior on GPU is.

This change adapts the weights used by the model to the ones in the
original Tensorflow implementation. The Inception weights available in
torchvision do not correspond to the ones used by Tensorflow's FID.

Furthermore, some subtle differences in the model implementation were
changed to now match the Tensorflow implementation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant