C1, Week 2 Assignment: Submission Compilation Error

When I submit the assignment, I get this error:

Can’t compile the student’s code. Error when checking input: expected dense_Dense1_input to have 2 dimensions, but got array with shape (None, 28, 28, 1)

Other students have had this problem, but their solutions didn’t work for me. My input shape is a list, not a tuple, and I restarted the assignment with fresh files.

My input shape is [28, 28, 1], and when I run it on my machine, there are no errors. Do you have any suggestions?

Thanks.

1 Like

Dear @mhthom2 ,

Welcome to the Community!

Can you please send me your code through Message button(click on my profile icon)?
I will look into the code and let you know the problem and solution.