TypeError: pic should be Tensor or ndarray. Got <class ‘torch.FloatTensor’>.
This is my error when  I try to change a ‘torch.FloatTensor’  to a picture ,this error will be occur. but i discorver the question is that  a image was open ,then transform it to a tensor which a ’ torch.FloatTensor’. so why the error  appear