Hi I submitted the assignment and received 0 grade. I don’t understand why: my code passes the tests in the notebook and it doesn’t look too complicated (otherwise I’d think that it contains some tricky bugs which are detected by the server tests only). And the latest block with the network training works and generates the images as expected.
This is the feedback:
Sorry, your submission was incorrect. Please try again. Expecting value: line 1 column 1 (char 0)
That’s strange, but it passed when I submitted my work after a little while. Even though I didn’t change my code at all. I thought that I should train the network a little longer and submit again (it’s quite a long process so I cancelled it). But according to the the feedback, the submission tests do not verify the trained network:
Code Cell UNQ_C1: Function ‘get_gradient’ is correct.
Code Cell UNQ_C2: Function ‘gradient_penalty’ is correct.
Code Cell UNQ_C3: Function ‘get_gen_loss’ is correct.
Code Cell UNQ_C4: Function ‘get_crit_loss’ is correct.
Same to me with a different message:
Cell #9. Can’t compile the student’s code. Error: AttributeError(“module ‘torch’ has no attribute ‘square’”,),
but all the tests were passed
Hey @Juan_Fco_Alferez,
Welcome, and we are glad that you could become a part of our community Thanks for sharing your solution to the issue, I am sure that this will help many other learners.
I have similar issue. My code passed all the tests but after submission, I got following errors in 2 attempts so far. Nothing changed in the code between 2 attempts.
1st attempt:
Sorry, your submission was incorrect. Please try again. Expecting value: line 1 column 1 (char 0)
2nd attempt:
Sorry, your submission was incorrect. Please try again. Invalid control character at: line 2999 column 31459 (char 12042238)