Results 5 comments of Jing Huang

+1 I'm hitting this error too when using it to calculate the Frechet distance. From https://github.com/mseitzer/pytorch-fid/issues/103 people are downgrading scipy to 1.11.1 to bypass this problem but it doesn't look...

> Can you check whether the problem persists with SciPy 1.12? I believe I was using 1.12 when I first encountered this error, so it's likely the problem persists.

I hit the same issue when using pytorch==2.0.1 and decord==0.6.0 ; Another environment with pytorch==2.2.1 and decord==0.6.0 seems to work though.

I think this is the root cause (and solution): https://github.com/yt-dlp/yt-dlp/issues/6247#issuecomment-1433096554

@Yashaswini-Srirangarajan I hit the same issue and using scipy==1.11.1 solved my problem, although I'm not sure which version is mathematically more correct. See: https://github.com/scipy/scipy/issues/19415 https://github.com/mseitzer/pytorch-fid/issues/103