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
The crop augmentation here introduces a bug when the crop size is equal to the image size. Then numpy.random.randint gets a [0,0) range and throws an exception. This happened for me with some images equal in size to the crop size. The solution seems to me to simply add a +1.
The text was updated successfully, but these errors were encountered:
deq-flow/code.v.2.0/core/utils/augmentor.py
Line 105 in 869d4bc
The crop augmentation here introduces a bug when the crop size is equal to the image size. Then numpy.random.randint gets a [0,0) range and throws an exception. This happened for me with some images equal in size to the crop size. The solution seems to me to simply add a +1.
The text was updated successfully, but these errors were encountered: