Hi,
Error says it needs PIL but you passed tensor.



 costa98:

TypeError: pic should be PIL Image or ndarray. Got <class 'torch.Tensor'>





 costa98:

#where transformF = transforms.ToTensor()


You are converting a tensor to tensor using ToTensor which only accepts PIL images.
Remove that line.
In the docs of UCF101 1 it says it returns a tensor.
Bests