Error loading checkpoint
TalalWasim opened this issue · 3 comments
TalalWasim commented
Hi,
I am having trouble when evaluating pretrained checkpoint. I get the following error:
RuntimeError: Error(s) in loading state_dict for STCATNet:
size mismatch for ground_encoder.encoder.time_embed.te: copying a param with shape torch.Size([301, 1, 256]) from checkpoint, the shape in current model is torch.Size([201, 1, 256]).
yoon28 commented
+1
yoon28 commented
@TalalWasim
I finally figured it out.
Set INPUT.MAX_VIDEO_LEN
to 300
when you execute the code.