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
{{ message }}
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.
Installing and switching to the accimage backend breaks my transforms.RandomResizedCrop. The fix I've found is modifying crop() in torchvisions.transforms.functional so that it does
Installing and switching to the accimage backend breaks my
transforms.RandomResizedCrop
. The fix I've found is modifyingcrop()
intorchvisions.transforms.functional
so that it doesimg.crop((int(j), int(i), int(j + w), int(i + h)))
instead of
img.crop((j, i, j + w, i + h))
(sidenote: this library is deliciously fast)
The text was updated successfully, but these errors were encountered: