My submission gives the error below, even after passing all tests.
Code Cell UNQ_C5: Unexpected error (TypeError(“in user code:\n\n /tmp/student_solution_cells/cell_27.py:51 train_step *\n J_content = compute_content_cost(a_G)\n\n TypeError: tf__compute_content_cost() missing 1 required positional argument: ‘generated_output’\n”)) occurred during function check. We expected function
train_step
to return train_step test 1 failed. Please check that this function is defined properly.
When I look at my code for the train step I see: "J_content = compute_content_cost(a_G,a_C) "
and the code runs fine in the notebook. I did a search on the page for all instances of J_content and cannot find a line that omits the second argument. Could this be in some of the code being loaded behind the scene?