Is the model structure right?

When I try to run the function model.summary(), I got an error saying model was not built yet. I ran the function model.build() with input shape = (None,2). Does that make sense?

Hi @ajaykumar3456

There aren’t exist model.build() in any tensorflow or keras so use model.compile(…)…also input shape is = (None,2) is true if all training set dimensions is equal

Thanks!
Abdelrahman

Perfect! Thanks @AbdElRhaman_Fakhry

1 Like

I noticed that the cell numbers in the left column aren’t sequential.
That could mean that you’ve not been running the cells in the correct order.