GANs specialization

week 4 course 1

model is running but the grader output gives

Cell #UNQ_C4. Can’t compile the student’s code. Error: RuntimeError(“Expected object of scalar type Float but got scalar type Long for sequence element 1 in sequence argument at position #1 ‘tensors’”,)

i tried making ALL tensors in the cell to float but the problem remains BUILDUING CONDITIONAL GAN

This is a known problem that is caused by the grader using an older version of torch. Here’s a thread which discusses in more detail.

1 Like

Also note that the Conditional GAN is not Week 1, but Week 4. I’ll edit the title to change the tag for you.

1 Like

thank you

the problem has ben solved

2 Likes