getting the error "mat1 and mat2 shapes cannot be multiplied (1x800 and 2x5)" in chapter 2 neural network classification. #585
Unanswered
RohanDebnath24
asked this question in
Q&A
Replies: 2 comments
-
Can you share the previous code which will help us to find the error |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @RohanDebnath24 , This kind of error is known as a "shape error" and is one of the more common errors in deep learning. It means there's a shape mismatch between some of your tensors in the previous code. I'd step back through your values and print out their shapes to see where the potential shape error occurs. Some helpful resources for shape errors:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
while making predictions with test samples of x as done in the chapter 02 neural networks classification. I'm getting the error,"mat1 and mat2 shapes cannot be multiplied (1x800 and 2x5)".

Beta Was this translation helpful? Give feedback.
All reactions