Hello!
When trying to submit my code for week 4 of generative adversarial networks, I am getting the error below from Coursera. For me, the code is compiling without errors.
Cell #7. Can’t compile the student’s code. Error: RuntimeError(“Expected object of scalar type Long but got scalar type Float for sequence element 1 in sequence argument at position #1 ‘tensors’”,)
Please, has anyone had this same issue?
Thanks!
Yes, here’s a thread which discusses that.
Also note that you’ll have better luck getting responses if you post your Course questions in the appropriate Course Q&A subcategory instead of in AI Discussions. You just got lucky that I recognized the question.
I’ll use the little “edit pencil” on the title to move the thread for you.
@paulinpaloalto Code accepted by reviewer. Thank you very much for the super fast support.
1 Like