Hi, I can’t find any mistakes in my code, but I’m receiving this error for exercise 5:
The number of layers in the model is incorrect. Expected: 13 Found: 2
Edit: I found the error and fixed it.
Hi, I can’t find any mistakes in my code, but I’m receiving this error for exercise 5:
The number of layers in the model is incorrect. Expected: 13 Found: 2
Edit: I found the error and fixed it.
Hello @Elias_Addleman
If you say how you solved this problem here, it will help others in future.
regards
Jenitta
Sure, it was a pretty obvious mistake that I should’ve noticed sooner. I was using the X_input variable at the end of each line when some (most) of the lines should have X as the input.
X = some_layer_function(…)(X_input)
instead of
X = some_layer_function(…)(X)
Hope this helps.