Skip to content

IW_MaxSquareloss #15

Description

@dadafan2343

Hello,

Thanks for your contribution and work. But I have the problem of "IW_MaxSquareloss":

"IW_MaxSquareloss" error:
for: loss = -torch.sum((torch.pow(prob, 2)weights)[mask]) / (batch_sizeself.num_class)

torch.pow(prob, 2) and weights

RuntimeError: The size of tensor a (4) must match the size of tensor b (2) at non-singleton dimension 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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