efficientdet-pytorch
efficientdet-pytorch copied to clipboard
get_dr_txt.py 报错
RuntimeError: Error(s) in loading state_dict for EfficientDetBackbone: size mismatch for classifier.header.pointwise_conv.conv.weight: copying a param with shape torch.Size([45, 112, 1, 1]) from checkpoint, the shape in current model is torch.Size([189, 112, 1, 1]). size mismatch for classifier.header.pointwise_conv.conv.bias: copying a param with shape torch.Size([45]) from checkpoint, the shape in current model is torch.Size([189]). 用的phi=2 pth文件也改了,为什么维度对不上呢
没问题了
I have the same problem. Can you tell me how to solve it. Thanks!!!!!!!!!!!!!
That's My fault. The file name is wrong. Thanks!!!
请问怎么解决这个问题的?
phi and class.txt should be changed together