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
File "liif/datasets/wrappers.py", line 118, in __getitem__
x0 = random.randint(0, img.shape[-2] - w_hr) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "anaconda/envs/pt/lib/python3.12/random.py", line 336, in randint
return self.randrange(a, b+1) ^^^^^^^^^^^^^^^^^^^^^^
File "anaconda/envs/pt/lib/python3.12/random.py", line 319, in randrange
raise ValueError(f"empty range in randrange({start}, {stop})")
ValueError: empty range in randrange(0, -4)
The above error will be raised if there are too small images in the dataset.
The text was updated successfully, but these errors were encountered:
The above error will be raised if there are too small images in the dataset.
The text was updated successfully, but these errors were encountered: