GaParmar / clean-fid

PyTorch - FID calculation with proper image resizing and quantization steps [CVPR 2022]
https://www.cs.cmu.edu/~clean-fid/
MIT License
943 stars 72 forks source link

open-cv is missing from the dependencies #20

Closed felixdivo closed 2 years ago

felixdivo commented 2 years ago

However, it is required when using fid.make_custom_stats(). I used pip.

Also, the README instructs one to pip install -r requirements.txt while such a file is not present.

GaParmar commented 2 years ago

Hi,

Thank you for pointing these issues! The Clean-FID should not require open-cv. In the previous versions there was unused import cv2 statement which caused this issue. The new version of the library 0.1.19 should address this issue.

Regards, Gaurav

felixdivo commented 2 years ago

grafik

Oh, seems like is was minutes out of date ... 🤣

felixdivo commented 2 years ago

Yup, seems like that solved it, thanks! 😄