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
I think the crop_max should be modified as crop_max + 1.
If left as it is, the bottom and rightmost columns of the image are not included in cropped_image. Also, an error occurs when output_size==img_size.
I'm sorry if I'm wrong :)
The text was updated successfully, but these errors were encountered:
Hi, thank you for your great research!
I'm afraid I think there is a bug at the random_crop function in utils.py:
curl/utils.py
Lines 244 to 245 in 23b0880
I think the
crop_max
should be modified ascrop_max + 1
.If left as it is, the bottom and rightmost columns of the image are not included in cropped_image. Also, an error occurs when output_size==img_size.
I'm sorry if I'm wrong :)
The text was updated successfully, but these errors were encountered: