Janspiry / Image-Super-Resolution-via-Iterative-Refinement

Unofficial implementation of Image Super-Resolution via Iterative Refinement by Pytorch
Apache License 2.0
3.6k stars 469 forks source link

Little bug in eval.py #116

Open rmoyav opened 1 year ago

rmoyav commented 1 year ago

I'm using your model for academic purposes and I had some issues with your eval.py function until I saw you have a little mistake in line 23.

Where you have: fidx = rname.rsplit("_sr")[0] It should be: fidx = fname.rsplit("_sr")[0]

Hope it helps!