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

Sorry, but I suspect your FID is fake #100

Open
johnzlj opened this issue Jun 25, 2021 · 8 comments
Open

Sorry, but I suspect your FID is fake #100

johnzlj opened this issue Jun 25, 2021 · 8 comments

Comments

@johnzlj
Copy link

johnzlj commented Jun 25, 2021

I used your provided pretrained model to create 50000 cifar images, and then I used the public TTUR project[1] to calculate the FID. Finally I get FID=66, Instead of the 5.33 you claimed in your paper.

Can you give me an explanation?

[1] TTUR: https://github.com/bioinf-jku/TTUR

@balthazar
Copy link

Dupe of #99

@Ranazzi
Copy link

Ranazzi commented Jan 28, 2023

Are you using the same sample size? bear in mind that FID is a biased metric

@mxochicale
Copy link

@Ranazzi, I would be interested to read more and have better understanding on why FID is a biased metric. Maybe you would like to add further references. Thanks

@Ranazzi
Copy link

Ranazzi commented Jan 28, 2023

@mxochicale You can find some content in arxiv.org/abs/1801.01401 and arxiv.org/abs/1911.07023. Feel free to contact me if you need some more content about GANs.

Regards.

@mxochicale
Copy link

Thanks @Ranazzi , I did use FID from my previous work in Ultrasound fetal brain imaging and looking into it using diffusion models but will check out shared papers and reach out if I have questions. It would also great that you provide alternatives methods to help @johnzlj and others on quantifying image synthesis.

@Ranazzi
Copy link

Ranazzi commented Jan 28, 2023

@mxochicale Some tips I recommend: besides FID, use KID (Kernel Inception Distance); use a sufficiently large sample to compute FID (In my personal experience, I always use at least 20k samples); when FID is used to compare different settings (architectures, losses, etc.) always use the same size during the analysis.

@johnzlj
Copy link
Author

johnzlj commented Feb 9, 2023 via email

@ThanosM97
Copy link

Hi @johnzlj,

Did you manage to fix your mistake? If so, could you please tell me what was the problem because I am facing the same issue?

Thanks.

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

5 participants