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.