Functional API, Week 1, Exercise 2, convolutional_model

I am working several hours on this problem, and there is no logical reason why it is so. When I write this lines of code

YOUR CODE STARTS HERE

mentor edit: code removed

YOUR CODE ENDS HERE

I get the following stupid error:
“TypeError: Dimension value must be integer or None or have an index method, got value ‘TensorShape([None, 64])’ with type ‘<class ‘tensorflow.python.framework.tensor_shape.TensorShape’>’”

Try removing the comma from the end of the “F = …” line of code.

1 Like

Oh well, thank you very much, that worked.
Thanks a lot