Skip to content

Batch size affects the behaviour of Masked Average Pooling #1

@kaixin96

Description

@kaixin96

In onemodel_sg-one.py line 37, the behaviour of torch.sum(pos_mask) will be different if the batch size is not 1.

It is better to write it batchsize-agnostic.

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