Convolution Model Application: Functional API error

I’m using the Funcitonal API method to implement the model and I pass the tests but I get this error when I try to train the model:

ValueError: Shapes (None, 1) and (None, 6) are incompatible

Any tips?


Apparently some of your shapes are not correct.
You didn’t provide much else I can comment on.

Am I allowed to post my code here? I assumed that I shouldn’t because of the honor code.

You can’t post your code on the Forums. Thanks for asking.
But you can send me your code via a direct message.

Try rerunning the notebook. I had the same issue and rerunning the notebook resolved the issue for me.