Skip to content

代码运行出错 #3

@zyz0000

Description

@zyz0000

您好!我在运行代码的时候出现下面的错误:
File "/data/asdf/RAAT/dee/dee_model.py", line 1079, in forward
out = batch_elem_emb + batch_pos_emb
RuntimeError: The size of tensor a (54) must match the size of tensor b (152) at non-singleton dimension 0

请问这个错误怎么解决?谢谢

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions