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

Fid score is different from the paper #8

Open
hdjsjyl opened this issue May 10, 2023 · 4 comments
Open

Fid score is different from the paper #8

hdjsjyl opened this issue May 10, 2023 · 4 comments

Comments

@hdjsjyl
Copy link

hdjsjyl commented May 10, 2023

Hi Author,
Thanks for your great work.
For the three checkpoints you provided "best_with_denoise", "best_without_denoise" and "checkpoint_300000.pth", I got fid scores around 39 by specifying the argument "--fast_fid". But the paper shows that the Fid score is around 10. Am I missing something? Any help would be appreciated, thanks!

@yang-song
Copy link
Member

Fast fid uses only about 1000 images (if I remember correctly) to compute the FID. You should use 50000 instead.

@shileims
Copy link

Hi @yang-song , thanks for your reply.
1. Yes, fast fid gets fid score by using only 1000 images; I will use 50000 to test again.
2. In the fast id function, it has a choice for "fast_ensemble_fid", which means it will use multiple models to comput fid score. The corresponding code is:

image

For reproducing the results in the paper, should I use the ensemble tech or not? Really appreciate your help. Thank you.

@yang-song
Copy link
Member

The "fast_ensemble_fid" function should not be used. It was there for early experiments.

@shileims
Copy link

Hi @yang-song , thanks for your reply.
Another question is about the experiment on CelebA data.
Actually, the original setting of batch size for CelebA is 128. In terms of my gpu memory, I reduce the batch size from 128 to 32 and keep other settings, the checkpoint could get any image when I do sampling. Does it mean, if I reduce the batch size 4 times, I need to increase the number of iterations 4 times as well? Thank you!

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

No branches or pull requests

3 participants