Exercise 02_pytorch_classification shape error : ValueError: Expected input batch_size (300) to match target batch_size (240). #694
Answered
by
shisirkha
rajsahu2004
asked this question in
Q&A
-
In the cell 21 of my notebook in the training loop I am getting mismatch in the shape of Link for the notebook github link
|
Beta Was this translation helpful? Give feedback.
Answered by
shisirkha
Dec 18, 2023
Replies: 1 comment
-
I think it's a problem with your input shape in subclassing Please give me the code for your neural network |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rajsahu2004
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think it's a problem with your input shape in subclassing
nn.Module
Please give me the code for your neural network