Skip to content

error:the size of tensor a(512) must match the size of tensor b(500) at non-singleton dimension 3 #6

@linshiyan

Description

@linshiyan

Using a target size (torch.Size([1,3,0,500)) that is different to the input size (torch.Size([1, 3,512, 512])).

error:the size of tensor a(512) must match the size of tensor b(500) at non-singleton dimension 3

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