Error thrown by autograder

Hey!
Actually I have completed the code for week 4 conditional GAN and have also passed all the tests according to code. But when I am submitting my notebook the following error shows.
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'",)
Can someone help me with it.
Regards,
Chaitanya

Several students got exactly that error from the grader on one of the NLP assignments recently. Try searching for that error on the forum.

1 Like

Hi Chaitanya!
Hope you are doing well. Adding to Paul’s suggestion, here is the link to a thread which addresses the same issue.
Regards,
Nithin

1 Like

Hey Nithin!
I am doing fantastic. Hope you’re doing great. Thanks for the link my problem was solved.
Thanks once again.
Regards,
Chaitanya

1 Like