Skip to content

sliding windows inference for binary classification problem #321

@lilipj

Description

@lilipj

Is it possible to use the sliding windows inference for a classification problem (2d)?
I'm getting an error when the prediction dimension is different from the image dimension :

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

with : size of sliding windows = 128, and the size of the tensor prediction = 2.

Thanks in advance.

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