Hello, I am working on a pre-trained model. The model’s weights and biases are loaded from a .pt file and I get the following error. Can you help me? Thanks.
RuntimeError: Error(s) in loading state_dict for Network:
size mismatch for fc.0.weight: copying a param with shape torch.Size([1600, 9]) from checkpoint, the shape in current model is torch.Size([1600, 55]).
size mismatch for fc.6.weight: copying a param with shape torch.Size([9, 400]) from checkpoint, the shape in current model is torch.Size([55, 400]).
size mismatch for fc.6.bias: copying a param with shape torch.Size([9]) from checkpoint, the shape in current model is torch.Size([55]).