I can run everything in the notebook. However, when I submit to the grade I get “Cell #UNQ_C2. Can’t compile the student’s code. Error: IndentationError(‘unexpected indent’, (’/tmp/student_solution_cells/cell_15.py’, 35, 51, ’ include_top=False,\n’))”
Just taking a guess, but the “can’t compile” error often means your copy of the notebook is out-of- date. Check the “Help” menu to see if a newer version is available.
Before you update your notebook, be sure you save it so your code doesn’t get overwritten.
I updated the worksheet and it didn’t correct the problem. I then moved all of the code to a single line and it fixed that problem. Now I get
Cell #16. Can’t compile the student’s code. Error: ValueError(‘Input 0 of layer global_average_pooling2d_4 is incompatible with the layer: expected ndim=4, found ndim=2. Full shape received: [None, 1000]’)