Hi,
I am implementing transfer learning using a pretrained weights. I am doing only feature extracting and not fine tuning the entire model. I have initialized the linear layer on a ResNet50 pretrained model.
I have video inputs .
I get the following runtime error:
RuntimeError: Expected 4-dimensional input for 4-dimensional weight [64, 3, 7, 7], but got 5-dimensional input of size [30, 60, 3, 224, 224] instead.
(batch size is 30, sample duration(temporal duration of inputs) is 60)
Can anyone pls help me resolve the issue?