tsai icon indicating copy to clipboard operation
tsai copied to clipboard

ValueError: Target size (torch.Size([128])) must be the same as input size (torch.Size([256]))

Open Jimmy3141 opened this issue 1 year ago • 0 comments

When performing multi-label classificatioin, the shape of input is (14400, 1) and the output is (14400, 4). However, it raised the error. I am wondering how I can fix this errror. Thank you! image

Jimmy3141 avatar Sep 08 '24 08:09 Jimmy3141