Hi,
I encountered a strange problem where my input of a torch.tensor on torchvision.transforms.functional.resize works with visual studio code but when i try to run torchvision.transforms.functional.resize on jupyter notebook with the same input, it gives an error of this
‘’‘TypeError: img should be PIL Image. Got <class ‘torch.Tensor’>’’’
Both notebook running the same version of torchvision 0.7.0.