You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @geng-lee This error was happening to me as well today (previous releases of the original code worked properly when resizing the input images). This is simply solved by replacing line 5 of the data.py script from torchvision.transforms import InterpolationMode
with the following: from transforms import InterpolationMode
Pull request no. 29 (not yet merged) contains this fix.
ValueError: Unknown resampling filter (InterpolationMode.BICUBIC). Use Image.Resampling.NEAREST (0), Image.Resampling.LANCZOS (1), Image.Resampling.BILINEAR (2), Image.Resampling.BICUBIC (3), Image.Resampling.BOX (4) or Image.Resampling.HAMMING (5)
The text was updated successfully, but these errors were encountered: