You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, we're going to need more information in order to better understand what is happening. What line raises this error, and the full backtrace ? What are your labels shape ? Please see #18 for more information about applying the model to a classification task.
I have a time series data and I want to change the program to a model for classification.
The following is the part I changed in the program
Before:
After:
After the modification, the program has the following error:
ValueError: Expected target size (64, 3), got torch.Size([64])
By the way, my data size is (64,55,20), and my category labels have three.
The text was updated successfully, but these errors were encountered: