We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError Traceback (most recent call last) in () 1 learn = ts_learner(dls, InceptionTimePlus, metrics=accuracy_multi) ----> 2 learn.lr_find() 3 # dls
19 frames /usr/local/lib/python3.7/dist-packages/torch/nn/functional.py in binary_cross_entropy_with_logits(input, target, weight, size_average, reduce, reduction, pos_weight) 2978 2979 if not (target.size() == input.size()): -> 2980 raise ValueError("Target size ({}) must be the same as input size ({})".format(target.size(), input.size())) 2981 2982 return torch.binary_cross_entropy_with_logits(input, target, weight, pos_weight, reduction_enum)
ValueError: Target size (torch.Size([384])) must be the same as input size (torch.Size([2304]))
How can I solve it?
The text was updated successfully, but these errors were encountered:
This issue has been fixed.
Sorry, something went wrong.
No branches or pull requests
In 01a_MultiClass_MultiLabel_TSClassification.ipynb
There is an error:
ValueError Traceback (most recent call last)
in ()
1 learn = ts_learner(dls, InceptionTimePlus, metrics=accuracy_multi)
----> 2 learn.lr_find()
3 # dls
19 frames
/usr/local/lib/python3.7/dist-packages/torch/nn/functional.py in binary_cross_entropy_with_logits(input, target, weight, size_average, reduce, reduction, pos_weight)
2978
2979 if not (target.size() == input.size()):
-> 2980 raise ValueError("Target size ({}) must be the same as input size ({})".format(target.size(), input.size()))
2981
2982 return torch.binary_cross_entropy_with_logits(input, target, weight, pos_weight, reduction_enum)
ValueError: Target size (torch.Size([384])) must be the same as input size (torch.Size([2304]))
How can I solve it?
The text was updated successfully, but these errors were encountered: