size mismatch for encoder_proj.weight: copying a param with shape torch.Size([128, 512]) from checkpoint, the shape in current model is torch.Size([128, 1024]).
size mismatch for decoder.attn_rnn.weight_ih: copying a param with shape torch.Size([384, 768]) from checkpoint, the shape in current model is torch.Size([384, 1280]).
size mismatch for decoder.rnn_input.weight: copying a param with shape torch.Size([1024, 640]) from checkpoint, the shape in current model is torch.Size([1024, 1152]).
size mismatch for decoder.stop_proj.weight: copying a param with shape torch.Size([1, 1536]) from checkpoint, the shape in current model is torch.Size([1, 2048]).
5条答案
按热度按时间y53ybaqx1#
我也同样的问题.....解决了吗?
ctehm74n2#
我也遇到了,百度结果有人提到是训练层数不同,但不知如何修改
rpppsulh3#
我也遇到了,百度上提到的训练层数不同,但不知道如何修改
Guys, have you solved it?
sshcrbum4#
同样问题
whlutmcx5#
使用#37的方法,但是还是会出现这种错误