PyTorch Forums
How to resize and pad in a torchvision.transforms.Compose()?
vision
Samil
(Samil)
January 19, 2022, 11:57am
11
F.pad function requires input as torch tensor but it is given PIL Image here. It throws error on me.
show post in topic