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 of FFHQ model does not match reported value #103

Open
georgestein opened this issue Apr 10, 2023 · 1 comment
Open

FID of FFHQ model does not match reported value #103

georgestein opened this issue Apr 10, 2023 · 1 comment

Comments

@georgestein
Copy link

I am attempting to use the FFHQ model provided to generate images that will give the same FID result as reported in the paper (3.39), but I instead get FID=4.36.

I am also generating images and calculating the ffhq 256 x256 FIDs of various other generative models (Stylegan-XL, StyleNAT, etc..) and found that my local version is consistent with what was reported, so I do not believe the error is on my end. Please let me know if it is.

Is the model that matches the reported FIDs available? Or is there a set of publicly available set of 100k generated ffhq256 images?

command and result below:

python calc_metrics.py --metrics=fid50k_full --network=https://s3.eu-central-1.amazonaws.com/avg-projects/projected_gan/models/ffhq.pkl --data=data/ffhq256/ 
Loading network from "https://s3.eu-central-1.amazonaws.com/avg-projects/projected_gan/models/ffhq.pkl"...

{"results": {"fid50k_full": 4.366911864743968}, "metric": "fid50k_full", "total_time": 1171.9112825393677, "total_time_str": "19m 32s", "num_gpus": 1, "snapshot_pkl": "https://s3.eu-central-1.amazonaws.com/avg-projects/projected_gan/models/ffhq.pkl", "timestamp": 1681159541.6151838}
@nekita473
Copy link

Having the same result as you:

{"results": {"fid50k_full": 4.300614431220116}, "metric": "fid50k_full", "total_time": 558.2744650840759, "total_time_str": "9m 18s", "num_gpus": 1, "snapshot_pkl": "https://s3.eu-central-1.amazonaws.com/avg-projects/projected_gan/models/ffhq.pkl", "timestamp": 1701272576.8560216}

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

2 participants