Week 4: Grader Not Working for Conditional GAN Lab

Hi

Although the notebook passes all tests, i am getting this compilation error from the grader:
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 advise on what could be the problem

Found the bug. Seems like the unit test could be fooled.

Yes, this problem comes up pretty frequently. Here’s another instance from just yesterday.

I encountered the same issue today,

I found same problem.

Answered on the other thread on which you also posted this issue.