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
Hi, I found a bug in fid score.
The normalization before inception model is written as:
pytorch.sngan_projection/models/inception.py
Lines 128 to 132 in 7afdca4
but it should be: https://github.com/mseitzer/pytorch-fid/blob/4e366b2fc9fb933bec9f6f24c5e87c3bd9452eda/inception.py#L130-L131
or it should be fixed like:
if self.normalize_input: mean = torch.tensor((0.485, 0.456, 0.406)).view(1, 3, 1, 1).cuda() std = torch.tensor((0.229, 0.224, 0.225)).view(1, 3, 1, 1).cuda() x = (x - mean) / std
The text was updated successfully, but these errors were encountered:
Thank you for your report & suggestion!
I'm sorry for my late response and bothering you by my bad. To be honest, I did not test/use FID scores.
Sorry, something went wrong.
Oh, I did not mean to blame you but just wanted to help your repo and other users. Thanks for your response :)
Oh, I did not mean to blame you but just wanted to help your repo and other users.
Thank you for your kind words.
I added the link to this issue tentatively to clarify what is wrong & how to fix this.
No branches or pull requests
Hi, I found a bug in fid score.
The normalization before inception model is written as:
pytorch.sngan_projection/models/inception.py
Lines 128 to 132 in 7afdca4
but it should be:
https://github.com/mseitzer/pytorch-fid/blob/4e366b2fc9fb933bec9f6f24c5e87c3bd9452eda/inception.py#L130-L131
or it should be fixed like:
The text was updated successfully, but these errors were encountered: