I have uploaded my data into imagedatabunch. But the size of images are different, how can I resize the images which are already in image databunch
on the transform step you can pass in a size along with your transforms .transform(size=whatever)
1 Like
the size parameter expects an integer. For example, size=224 would mean a square image of (224x224).
1 Like
Hey! How do I retain the aspect ratio of the original image without making it a square?
You can pass size in as a tuple, eg size=(224,448)
1 Like
Figured it out. Thanks!