ValueError: Expected input batch_size (1) to match target batch_size (0). #4544
Answered
by
rusty1s
anthonysirico
asked this question in
Q&A
-
Here is the dataset creation code, following this I ran
After that, I ran my model:
And received the following error:
Does it have to do with the cross entropy or the way my dataset is created? |
Beta Was this translation helpful? Give feedback.
Answered by
rusty1s
Apr 27, 2022
Replies: 1 comment 37 replies
-
What are the shapes of
|
Beta Was this translation helpful? Give feedback.
37 replies
Answer selected by
anthonysirico
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What are the shapes of
out
anddata.y
before