Skip to content

Questions about "RuntimeError: The size of tensor a (238) must match the size of tensor b (243) at non-singleton dimension 3" #8

@Simon-Stma

Description

@Simon-Stma

In the summation of residual and identity, there is a dimensional mismatch, and after debugging, it is found that the dimensions will be different after transformer, how to solve this problem?

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