I tried exactly that - do_crop=False, padding_mode='zeros'
in ImageDataBunch.from_folder
along with get_transforms(do_flip=False, max_zoom=1)
but I got errors in PyTorch dataloader.
So I went with native imagemagick resize with padding.
I tried exactly that - do_crop=False, padding_mode='zeros'
in ImageDataBunch.from_folder
along with get_transforms(do_flip=False, max_zoom=1)
but I got errors in PyTorch dataloader.
So I went with native imagemagick resize with padding.