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

Imaginary component 3.1913775165377e+114

Open Mei0211 opened this issue 1 year ago • 4 comments

raise ValueError('Imaginary component {}'.format(m))

ValueError: Imaginary component 3.1913775165377e+114

Mei0211 avatar Sep 07 '23 03:09 Mei0211

I have met the same problem. Have you found the solution yet?

zero-nnkn avatar Sep 16 '23 05:09 zero-nnkn

After I downgraded the scipy version from 1.11.2 to 1.11.1, everything worked well.

zero-nnkn avatar Sep 16 '23 15:09 zero-nnkn

Same problem for me. @zero-nnkn 's suggestion solved temporarily the issue.

jgvinholi avatar Oct 09 '23 09:10 jgvinholi

After I downgraded the scipy version from 1.11.2 to 1.11.1, everything worked well.

This also worked for me, but I am wondering why downgrading scipy does the trick. Also, as per the authors comments, the base size required 2048 images, changing this might result in scores no longer correlating with visual quality. So even if it works it might not be desirable to actually have less than 2048 images.

jonatelintelo avatar Oct 26 '23 13:10 jonatelintelo