RuntimeError: invalid argument 0:

I got error like this.

AttributeError: ‘torch.FloatTensor’ object has no attribute ‘convert’

What should i import??

I already imported “from PIL import Image”