Hi, when I run test_one_video.py using CSL-Daily pretrained model (dev_31.10_CSL-Daily.pt), I meet the following error
RuntimeError: Error(s) in loading state_dict for SLRModel:
size mismatch for conv1d.fc.weight: copying a param with shape torch.Size([2001, 1024]) from checkpoint, the shape in current model is torch.Size([1296, 1024]).
size mismatch for conv1d.fc.bias: copying a param with shape torch.Size([2001]) from checkpoint, the shape in current model is torch.Size([1296]).
size mismatch for classifier.weight: copying a param with shape torch.Size([2001, 1024]) from checkpoint, the shape in current model is torch.Size([1296, 1024]).
size mismatch for classifier.bias: copying a param with shape torch.Size([2001]) from checkpoint, the shape in current model is torch.Size([1296]).
Should I modify somewhere of the network structure?
Thank you!
Hi, when I run test_one_video.py using CSL-Daily pretrained model (dev_31.10_CSL-Daily.pt), I meet the following error
RuntimeError: Error(s) in loading state_dict for SLRModel: size mismatch for conv1d.fc.weight: copying a param with shape torch.Size([2001, 1024]) from checkpoint, the shape in current model is torch.Size([1296, 1024]). size mismatch for conv1d.fc.bias: copying a param with shape torch.Size([2001]) from checkpoint, the shape in current model is torch.Size([1296]). size mismatch for classifier.weight: copying a param with shape torch.Size([2001, 1024]) from checkpoint, the shape in current model is torch.Size([1296, 1024]). size mismatch for classifier.bias: copying a param with shape torch.Size([2001]) from checkpoint, the shape in current model is torch.Size([1296]).
Should I modify somewhere of the network structure? Thank you!