timeseriesAI / tsai

Time series Timeseries Deep Learning Machine Learning Python Pytorch fastai | State-of-the-art Deep Learning library for Time Series and Sequences in Pytorch / fastai
https://timeseriesai.github.io/tsai/
Apache License 2.0
5.14k stars 643 forks source link

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

Open Jimmy3141 opened 3 weeks ago

Jimmy3141 commented 3 weeks ago

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