pytorch-fid icon indicating copy to clipboard operation
pytorch-fid copied to clipboard

The calculation of fid is too slow.

Open liuchanglab opened this issue 3 years ago • 2 comments

Thanks for sharing.

The calculation of fid is too slow. The calculation for linalg.sqrtm(sigma1.dot(sigma2), disp=False) takes several minutes. How to speed it?

liuchanglab avatar Mar 29 '22 13:03 liuchanglab

How many images do you use to compute FID? This line becomes slower with the number of images you use, but unless you use a really large number of images, this should not be an issue.

mseitzer avatar Jan 05 '23 09:01 mseitzer

How many images do you use to compute FID? This line becomes slower with the number of images you use, but unless you use a really large number of images, this should not be an issue.

Should I divide the FID score, I have calculated, by the number of images to get the average value? 1000 images and get scores of 70.

geknow avatar Mar 05 '24 07:03 geknow