Hi Nithin,
Nice that I’m nearly through both the Deep Learning and GAN specialization and this is the first grade fail!
The grader error (again, a first for me) is: Cell #5. Can’t compile the student’s code. Error: TypeError(“‘builtin_function_or_method’ object is not iterable”,)
Cell #5 is the unit test for Cell #4 which is UNQ_C2 crop function. I wrote it using center_crop imported from torchvision.transforms.functional; I used only 2 lines of code for that cell.
As you suggested I also restarted the kernel and cleared output, then ran only the cells up to the train() cell but didn’t run train() or any cells after. I submitted that version and got the same error message: Cell #5. Can’t compile the student’s code. Error: TypeError(“‘builtin_function_or_method’ object is not iterable”,)
Thanks for coordinating on this.
Jeff
Just found another discussion that implies the issue is a Pytorch/Python versioning issue but with no posted resolution: C3W2A_Assignment Center Cropping - #11 by Giorgio_Ballardin