Week 2 MobileNet Transfer Learning Submission Problem

All my tests have passed but the grader is showing me the error message -
“Cell #10. Can’t compile the student’s code. Error: SyntaxError(‘invalid syntax’, (’/tmp/student_solution_cells/cell_10.py’, 12, 28, ‘W = base_model.weights=None)#\n’))”

what should I do?

Hi @Rahul8420,

Can you share your lab ID with me ? In the assignment, when you click the top right “Help” button, a panel will open and your lab ID will be shown at the bottom.

Thanks,
Mubsi

@Mubsi
Rahul Golder
My code is -
ngnhvsow

Thanks, @Rahul8420, let me take a look.

Hi @Rahul8420,

I believe you added this extra cell, cell #10 in the notebook, a cell which is not part of the original version of the notebook. This is why the autograder throws the error, because it does not recognises it.

Please refrain from adding extra cells in the notebook. We suggest our learners to submit the assignment for grading first, and then they can explore things as much as they want. Also, whenever you are making changes in assignment, always keep a track of those changes and original code around.

You can try submitting after deleting that extra cell. If there are more changes made to the original assignment, you can always fetch a fresh copy by refreshing your workspace, the instruction for which can be found before the first assignment of the course in Week 1.

Best,
Mubsi

@Mubsi
Thank You. I added an extra cell . Now it’s working.