I am trying to work on video dataset , so when I read the video using the function torchvision.io.read_video
I am getting the ouput in form of a tuple. (I only want to work with video frames).
If i try to pass elements from tuple one by one to r2plus1d=models.video.r2plus1d_18(pretrained=False, progress=True)
I am getting this error.
Is this not a correct way to work with videos, if it is correct how I should modify this?