Unsure what is causing this error? Not sure if it’s an issue with my model or some of the previous functions in the code.
ValueError: logits
and labels
must have the same shape, received ((32, 12, 1) vs (32,)).
Unsure what is causing this error? Not sure if it’s an issue with my model or some of the previous functions in the code.
ValueError: logits
and labels
must have the same shape, received ((32, 12, 1) vs (32,)).
It is your coding, this error mesage says that the predictions and labels are not of the same shape.
So, you need to check the label’s shape and in your model make it output predictions of the same shape.
Okay thank you! I found the issue, I didn’t configure the code after the convolutional layer correctly.