ddim icon indicating copy to clipboard operation
ddim copied to clipboard

Wrong fid in cifar10

Open HGGshiwo opened this issue 1 year ago • 0 comments

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?

HGGshiwo avatar Jan 30 '24 07:01 HGGshiwo