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
(py365) ubuntu@i-o9tnhsxb:~/chatbot/seq2seq$ python seq2seq.py train
While copying the parameter named encoder.embedding.weight, whose dimensions in the model are torch.Size([14, 100]) and whose dimensions in the checkpoint are torch.Size([600, 100]), ...
inconsistent tensor size, expected tensor [14 x 100] and src [600 x 100] to have the same number of elements, but got 1400 and 60000 elements respectively at /pytorch/torch/lib/TH/generic/THTensorCopy.c:86
No model!
Illegal instruction (core dumped)
The text was updated successfully, but these errors were encountered:
我在执行 python seq2seq.py train 的时候遇到了下面的错误,请问应该如何解决?
(py365) ubuntu@i-o9tnhsxb:~/chatbot/seq2seq$ python seq2seq.py train
While copying the parameter named encoder.embedding.weight, whose dimensions in the model are torch.Size([14, 100]) and whose dimensions in the checkpoint are torch.Size([600, 100]), ...
inconsistent tensor size, expected tensor [14 x 100] and src [600 x 100] to have the same number of elements, but got 1400 and 60000 elements respectively at /pytorch/torch/lib/TH/generic/THTensorCopy.c:86
No model!
Illegal instruction (core dumped)
The text was updated successfully, but these errors were encountered: