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

fix tranform typo #50

Open jeremyfix opened 10 months ago

jeremyfix commented 10 months ago

Hi,

this is just a fix for a minor typo in fid.py and utils.py where an argument was called custom_image_tranform while you expected to call it custom_image_transform I suppose.

This PR just applied

cd cleanfid
sed -i 's/custom_image_tranform/custom_image_transform/g' *.py