-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
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
UserWarning: using a target size (torch.Size([1])) that is different to input size (torch.Size([])) #1
Comments
Hello, do you mean this error occurred where you were running the training code? Could you tell me where the error occurred? |
Hello sir, < ./lib/python3.6/site-packages/torch/nn/modules/loss.py:88: UserWarning: Using a target size (torch.Size([1])) that is different to the input size (torch.Size([])). This will likely lead to incorrect results due to broadcasting. Please ensure they have the same size. |
Hello, I ran the code but found no errors during the training progress. |
hello sir, |
Hello good author,
First Thank you so much for your amazing code, can I get some help please
i tried to test your code but i get this warning {UserWarning: using a target size (torch.Size([1])) that is different to input size (torch.Size([])) } and i cant figure out where is the problem exactly .
Thank you.
The text was updated successfully, but these errors were encountered: