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
如题,报错如下:
Exception has occurred: RuntimeError
Error(s) in loading state_dict for YoloBody:
size mismatch for yolo_head_P3.weight: copying a param with shape torch.Size([21, 256, 1, 1]) from checkpoint, the shape in current model is torch.Size([258, 256, 1, 1]).
size mismatch for yolo_head_P3.bias: copying a param with shape torch.Size([21]) from checkpoint, the shape in current model is torch.Size([258]).
size mismatch for yolo_head_P4.weight: copying a param with shape torch.Size([21, 512, 1, 1]) from checkpoint, the shape in current model is torch.Size([258, 512, 1, 1]).
size mismatch for yolo_head_P4.bias: copying a param with shape torch.Size([21]) from checkpoint, the shape in current model is torch.Size([258]).
size mismatch for yolo_head_P5.weight: copying a param with shape torch.Size([21, 1024, 1, 1]) from checkpoint, the shape in current model is torch.Size([258, 1024, 1, 1]).
size mismatch for yolo_head_P5.bias: copying a param with shape torch.Size([21]) from checkpoint, the shape in current model is torch.Size([258]).
根据报错提示,作者本人提供基于SSDD数据集训练完成的pth类别数只有1类嘛?
The text was updated successfully, but these errors were encountered:
如题,报错如下:
Exception has occurred: RuntimeError
Error(s) in loading state_dict for YoloBody:
size mismatch for yolo_head_P3.weight: copying a param with shape torch.Size([21, 256, 1, 1]) from checkpoint, the shape in current model is torch.Size([258, 256, 1, 1]).
size mismatch for yolo_head_P3.bias: copying a param with shape torch.Size([21]) from checkpoint, the shape in current model is torch.Size([258]).
size mismatch for yolo_head_P4.weight: copying a param with shape torch.Size([21, 512, 1, 1]) from checkpoint, the shape in current model is torch.Size([258, 512, 1, 1]).
size mismatch for yolo_head_P4.bias: copying a param with shape torch.Size([21]) from checkpoint, the shape in current model is torch.Size([258]).
size mismatch for yolo_head_P5.weight: copying a param with shape torch.Size([21, 1024, 1, 1]) from checkpoint, the shape in current model is torch.Size([258, 1024, 1, 1]).
size mismatch for yolo_head_P5.bias: copying a param with shape torch.Size([21]) from checkpoint, the shape in current model is torch.Size([258]).
根据报错提示,作者本人提供基于SSDD数据集训练完成的pth类别数只有1类嘛?
The text was updated successfully, but these errors were encountered: