When I submit my assignment for C1W3, I get “An unexpected error occurred. Please try again later.” I do actually get a pass for this assignment though (88/99). One exercise from the assignment - exercise 7 - gets 0/11 and has the message “No feedback available for this exercise.” The 0/11 mark and/ or the lack of feedback presumably could be due to a problem on the server given the other error message though? I have tried submitting this a few times. (All of these were today, so maybe I do need to wait.) My code passes the tests in the Jupyter notebook and if there is a bug in my code, I’m not sure how I can fix it without any feedback,
William
I have now managed to get this to work and get full marks. I’m not sure there was a problem with the server as such now. I noticed a comment that I had ignored previously in exercise 7 and, after following the instructions there and resubmitting, exercise 7 got full marks. (I may be going through some of the coding assignments a bit quickly by resubmitting code that I did on the Coursera versions of these courses some while ago. But various surprises turn up due to the graders behaving “differently” or being more rigorous - not sure which it is in this case),
William
1 Like
Unfortunately the graders here sometimes can’t give us enough info to give us a useful clue as to the nature of the problem.
But this means that your code is in some way not general, if it passes the tests in the notebook, but fails the grader for that one function. That is the update_parameters function. There aren’t that many moving parts there. Here’s one I can think of:
Are you sure you did the “deepcopy” as the comments suggest? If you use the “in place” -= operator to update the parameters, that is required.
Ah, ok, sorry, our messages “crossed in mid-air”. Yes, I recently went through the exercise of copying all my solutions over from the Coursera version of DLS to the DLAI version and you’re right that there are a few differences in how the graders work.