Skip to content

Missing attention mask for input images #1

@AmitMY

Description

@AmitMY

When collating different words, their image size is variable.
Currently, it is 0-padded, but this is not something the model should care about.
Instead, we need to add an attention mask for the pixels as well, to prevent the model from behaving differently when the text is batched with longer or shorter texts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions