Hello, I have the ucf 101 dataset loaded as follows:
dataComplete = torchvision.datasets.UCF101('directory', frames_per_clip=16, step_between_clips=1, frame_rate=None, fold=1, train=True, transform=transformF, _precomputed_metadata=None, num_workers=1, _video_width=0, _video_height=0, _video_min_dimension=0, _audio_samples=0)
data = torch.utils.data.DataLoader(dataComplete, batch_size=3, shuffle=True)
#where transformF = transforms.ToTensor()

and I am trying to access the tensors stored in the dataLoader object, but everytime I try to execute:
for n_batch in data:
  #training...

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

I tried using dataComplete instead and using enumerate(), range() ecc. but it shows the same error