You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
您好,我使用官方的pvig_s_82.1.pth.tar权重去训练我自己的数据集(67个类别)时,出现DeepGCN最后一层维度不匹配的情况:
RuntimeError: Error(s) in loading state_dict for DeepGCN:
size mismatch for prediction.4.weight: copying a param with shape torch.Size([1000, 1024, 1, 1]) from checkpoint, the shape in current model is torch.Size([67, 1024, 1, 1]).
size mismatch for prediction.4.bias: copying a param with shape torch.Size([1000]) from checkpoint, the shape in current model is torch.Size([67]).
请问应该在哪里修改以适应我的数据集?
The text was updated successfully, but these errors were encountered:
您好,我使用官方的pvig_s_82.1.pth.tar权重去训练我自己的数据集(67个类别)时,出现DeepGCN最后一层维度不匹配的情况:
RuntimeError: Error(s) in loading state_dict for DeepGCN:
size mismatch for prediction.4.weight: copying a param with shape torch.Size([1000, 1024, 1, 1]) from checkpoint, the shape in current model is torch.Size([67, 1024, 1, 1]).
size mismatch for prediction.4.bias: copying a param with shape torch.Size([1000]) from checkpoint, the shape in current model is torch.Size([67]).
请问应该在哪里修改以适应我的数据集?
The text was updated successfully, but these errors were encountered: