I am trying to figure out how to load an image data bunch with resizing but no crop or any flips.
A similar question has been asked in fastai users https://forums.fast.ai/t/resize-instead-of-crop/28680 and I don’t see an answer where cropping is omitted. Apologies for duplicate - I am hoping there are more people looking at V3 forums right now.
I’ve tried various things like:
- Custom get_transform() with no flip
- Editing the result of get_transform and removing the Crop transforms
- Using no transforms
Having no Crop transforms (or no transforms) results in PyTorch data loader errors with tensor size mismatches.
Do I have to manually resize the images and then use no transforms? I can do that but hoping for an easier way.