Skip to content

Error on the size of some tensors #1

Description

@chouaibchaoun

Exception has occurred: RuntimeError
The size of tensor a (512) must match the size of tensor b (256) at non-singleton dimension 3
File "C:\Users\chouaib\Documents\Markaiter\develop\tnt-kid\tnt_kid\model\transformer.py", line 331, in _attn
w = w * b + -1e10 * (1 - b)

Any help ?

Thankx in Advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions