It appears my code is correct for both # UNQ_C1 and # UNQ_C2 as all tests as passing. However, when I submit the assignment I am only scoring 50% and am receiving the following message. I have no idea what the issue is. I went through the other previously posted topics on this item and could not figure out my issue. What am I doing wrong?
My error:
Code Cell UNQ_C2 failed: compute_loss test 1 failed
If you see many functions being marked as incorrect, try to trace back your steps & identify if there is an incorrect function that is being used in other steps.This dependency may be the cause of the errors.
Thank you, @TMosh. Although my tests are passing, code blocks 5 and 18 show errors in red: Out [5] and Out [18]. Is there a way to re-start the kernel fresh (as if I am starting the assignment all over)? I am not sure that would solve the problem, but I just cannot get past whatever the issue may be.
I’m still scratching my head. Is this the original code for In [5]? When running it, it comes back in red. Isn’t this the original code? Did I mess something up? Why is this code block highlighted in red?
The grader gave me a 50%. The error messages are provided below. However, In [10], In [12], and In [13] each show “All tests passed!” I am really lost right now. I appreciate the assistance.
Code Cell UNQ_C1: The value of your variable ‘q_network’ is correct.
Code Cell UNQ_C1: The value of your variable ‘target_q_network’ is correct.
Code Cell UNQ_C1: The value of your variable ‘optimizer’ is correct.
Code Cell UNQ_C2 failed: compute_loss test 1 failed
If you see many functions being marked as incorrect, try to trace back your steps & identify if there is an incorrect function that is being used in other steps. This dependency may be the cause of the errors.