GaParmar / clean-fid

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

RuntimeError: MALFORMED INPUT: lanes don't match #5

Closed hardik-uppal closed 2 years ago

hardik-uppal commented 3 years ago

Hello, I tried using the package, but its throwing this runtime error. I checked image size mismatch, whether they are corrupted or not but no leads as to what is causing this.

GaParmar commented 3 years ago

This issue is caused because of the new PyTorch version. Could you try downgrading the PyTorch version to 1.7 to see if the issue is resolved?

GaParmar commented 2 years ago

This should be resolved in the new clean-fid version. Feel free to repoen the issue if the error persists.

cunjian commented 1 year ago

This should be resolved in the new clean-fid version. Feel free to repoen the issue if the error persists.

It appears that this issue still exists in the latest version for Pytorch version 1.9.1