UserWarning: Using a target size #4610
-
Should I be concerned about the following warning?
Because my results are coming out like this:
|
Beta Was this translation helpful? Give feedback.
Answered by
rusty1s
May 11, 2022
Replies: 1 comment 2 replies
-
I think it is good practice to ensure that shapes match and that your training does not yield any warnings. So Nonetheless, your low performance seems to be induced by something different. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
anthonysirico
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think it is good practice to ensure that shapes match and that your training does not yield any warnings. So
out = out.view(-1)
should fix that.Nonetheless, your low performance seems to be induced by something different.