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

Wrong fid in cifar10 #32

Open
HGGshiwo opened this issue Jan 30, 2024 · 0 comments
Open

Wrong fid in cifar10 #32

HGGshiwo opened this issue Jan 30, 2024 · 0 comments

Comments

@HGGshiwo
Copy link

Thanks for sharing your code. I clone this repository, then using the following command:

python main.py --config cifar10.yml --doc test1 --sample --fid --timesteps 10 --ni  --use_pretrained

Then use https://github.com/toshas/torch-fidelity to caculate fid as you suggesst, I use:

fidelity --gpu 0 --fid --input1 ~/ddim/exp/image_samples/images --input2 cifar10-train

The result fid is 18.77365, which is a bit different from paper(13.36). Do I need to make any changes or process the images? In addition, I found that the number of generated pictures is 49984. Does this affect the fid calculation?

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

1 participant