GaParmar / clean-fid

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

ResizeDataset doesn't work when fdir=None #15

Closed dave-epstein closed 2 years ago

dave-epstein commented 2 years ago

Add guard to block error when using ResizeDataset without passing in fdir. This happens, e.g., when calling make_custom_stats.