Skip to content

Wrong fid in cifar10 #32

Description

@HGGshiwo

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions