Hey, i’m trying to upload my assignment, course 1, week 4, assignment 2, for the grade, but is not working, what should i do?, i have already closed it and opened again, run all again, but doesn’t submit, everything is okey, i have passed all the tests.
It says that i have not aproved, i read the note before the asignment and it said it, but i have a question, can I get the certificate despite that?
Hey @paolaruedad can you give me detail on what exactly is happening and that you are facing ?
Yes , i finished my last assignment of the course 1, but the grade was 0 even when i passed all the tests.
i got this error in the part of the grades, but i checked my code ans it’s fine, i also see that other people have the same problem.
[ValidateApp | INFO] Validating ‘/home/jovyan/work/submitted/courseraLearner/W4A2/Deep Neural Network - Application.ipynb’
[ValidateApp | INFO] Executing notebook with kernel: python3
[ValidateApp | ERROR] Timeout waiting for execute reply (30s).
[ValidateApp | ERROR] Interrupting kernel
Tests failed on 2 cell(s)! These tests could be hidden. Please check your submission.
The following cell failed:
parameters, costs = L_layer_model(train_x, train_y, layers_dims, num_iterations = 1...
print("Cost after first iteration: " + str(costs[0]))
L_layer_model_test(L_layer_model)
The error was:
---------------------------------------------------------------------------
UnboundLocalError Traceback (most recent call last)
<ipython-input-14-d5e7eb27c0fc> in <module>
----> 1 parameters, costs = L_layer_model(train_x, train_y, layers_dims, num_iterat...
2
3 print("Cost after first iteration: " + str(costs[0]))
4
5 L_layer_model_test(L_layer_model)
<ipython-input-13-67f6d664a164> in L_layer_model(X, Y, layers_dims, learning_rate, ...
51 # grads = ...
52 # YOUR CODE STARTS HERE
---> 53 grads = update_parameters(parameters, grads, learning_rate)
54
55 # YOUR CODE ENDS HERE
UnboundLocalError: local variable 'grads' referenced before assignment
Hi @paolaruedad can you share the full grader output? It might be the grader is timing out which we see happening in some of the course exercises. If that is the case, it has to be reported back as an issue to the Coursera Helpdesk.
regards Stephanus
i don’t know what to do, the code it is fine, please!!, i need to finish my course, i need my certificate,
Hi @paolaruedad understand and the Coursera team is working hard to get the issue fixed so you can finish the course. The issue has officially been reported. Please bare with us while @Mubsi is coordinating this,
regards Stephanus
Thank you @htsd18 , we will follow up this one in the separate thread as your issue is related to Course 5. This does not seem to be related to a timeout of the Autograder.
Please bare with us and we will make sure you will get your certificate.
regards Stephanus
@mubsi for your reference
For my reference: to note
Hi @paolaruedad, are you sure all tests were passing before submitting the notebook? I think the failing line 53 above grads = update_parameters(parameters, grads, learning_rate)
is wrong. The update_parameters
function updates the parameters
and you are assigning the result of that function to grads
.
Note that I’m not saying this will solve the issue with the grader when you submit because grads
should have been already defined at this point but that line of code doens’t seem to be correct so other tests in the grader should be failing too in the notebook.