TypeError: forward() takes 2 positional arguments but 3 were given
soumyadbanik opened this issue · comments
In pytorchvideo/tutorials/video_detection_example while running the cell for generating the prediction I'm getting this error
if isinstance(inputs, list):
inputs = [inp.unsqueeze(0).to(device) for inp in inputs]
else:
inputs = inputs.unsqueeze(0).to(device)
preds = video_model(inputs, inp_boxes.to(device))