Skip to content

No model error #15

@haow85

Description

@haow85

我在执行 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions