Week 3, Assignment 2, U-Net submission problem

I have passed all the 3 exercises inside this assignment and everything works well, but when I submitted it, I got a grade of 0, and the error message is this:

“Cell #3. Can’t compile the student’s code. Error: SyntaxError(‘invalid syntax’, (’/tmp/student_solution_cells/cell_3.py’, 6, 13, ‘os.path.join?\n’))”

I tried to submit it many times, and I did all that I knew to fix this problem, like getting the latest version, rebooting the server, restarting the kernel, and clearing outputs, but these did not work.

Could you guide me with this issue?

Apparently you’ve added some code to the notebook that the grader cannot handle.

Please download your notebook and send it to me via a private message.

The problem has been resolved after testing some other things, and also you were right.

I used the help function with “?” key in the file and the error was about these lines of code. We should delete them, or make them comments via “#”.

Maybe the reason is that when we use the help function with “?”, the Python shows the result by using a pop-up window and the submission code cannot handle the pop-up windows.

By the way, thank you so much for your help.