RuntimeError: Error(s) in loading state_dict for RNN_ENCODER: While copying the parameter named "encoder.weight", whose dimensions in the model are torch.Size([1, 300]) and whose dimensions in the checkpoint are torch.Size([5450, 300]). #25
When I do Validation,follow your steps:go into code/ folder,python main.py --cfg cfg/eval_bird.yml --gpu 0,But there was showingRuntimeError: Error(s) in loading state_dict for RNN_ENCODER:
While copying the parameter named "encoder.weight", whose dimensions in the model are torch.Size([1, 300]) and whose dimensions in the checkpoint are torch.Size([5450, 300]).
When implemented python main.py --cfg cfg/eval_coco.yml --gpu 0,showing RuntimeError: Error(s) in loading state_dict for RNN_ENCODER:
While copying the parameter named "encoder.weight", whose dimensions in the model are torch.Size([1, 300]) and whose dimensions in the checkpoint are torch.Size([27297, 300]).
What is the reason why you should correct it
When I do Validation,follow your steps:go into code/ folder,python main.py --cfg cfg/eval_bird.yml --gpu 0,But there was showingRuntimeError: Error(s) in loading state_dict for RNN_ENCODER: While copying the parameter named "encoder.weight", whose dimensions in the model are torch.Size([1, 300]) and whose dimensions in the checkpoint are torch.Size([5450, 300]). When implemented python main.py --cfg cfg/eval_coco.yml --gpu 0,showing RuntimeError: Error(s) in loading state_dict for RNN_ENCODER: While copying the parameter named "encoder.weight", whose dimensions in the model are torch.Size([1, 300]) and whose dimensions in the checkpoint are torch.Size([27297, 300]). What is the reason why you should correct it