pytorch-fid
pytorch-fid copied to clipboard
Imaginary component 3.1913775165377e+114
raise ValueError('Imaginary component {}'.format(m))
ValueError: Imaginary component 3.1913775165377e+114
I have met the same problem. Have you found the solution yet?
After I downgraded the scipy
version from 1.11.2
to 1.11.1
, everything worked well.
Same problem for me. @zero-nnkn 's suggestion solved temporarily the issue.
After I downgraded the
scipy
version from1.11.2
to1.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.