Kaggle_PKU_Baidu icon indicating copy to clipboard operation
Kaggle_PKU_Baidu copied to clipboard

It seems that the file is missing or set incorrectly

Open huangqiusheng opened this issue 2 years ago • 1 comments

checkpoint = load_checkpoint(model, '/pretrained_model/Jan29-00-02_epoch_261_serialized_ssd-4094ffb2.pth', map_location='cpu') The model and loaded state dict do not match exactly

unexpected key in source state_dict: fc_car_cls_weight.weight, fc_rot_weight.weight, fc_translation_weight.weight

these keys have mismatched shape: +------------------------------------+----------------------+-------------------------+ | key | expected shape | loaded shape | +------------------------------------+----------------------+-------------------------+ | translation_head.trans_pred.weight | torch.Size([3, 200]) | torch.Size([1629, 200]) | | translation_head.trans_pred.bias | torch.Size([3]) | torch.Size([1629]) | +------------------------------------+----------------------+-------------------------+

huangqiusheng avatar Jun 08 '22 04:06 huangqiusheng

Hi did you end up solving this issue? Also any advice on loading the pre-trained model?

sharath-08 avatar Apr 12 '23 01:04 sharath-08