Hi Mericy!
I don’t find any errors in your implementation. This problem might be because of including extra cells which originally do not belong to the notebook. Delete those cells before submitting.
Also, please do remove the code. Have a great day.
Regards,
Nithin
I have identified the issue, it’s the problem with the CenterCrop function again. There might be a version mismatch. Refer to this post. I would recommend you to follow the direct or normal slicing method as it would work fine (I have submitted both and verified them).
Regards,
Nithin
Thanks Nithin! The problem is solved when I used index slicing instead of the pytorch center crop function. It is still a bit weird that everything is fine in the notebook including training but the grader throws an error for the cell #5 which is not the cell where we implement cropping.
I have the same problem when using CenterCrop. It worked when I switched to slicing. However, I think this is still a problem that needs to be addressed. I see this post is two months old yet there is no modification for the notebook to address this bug. This is disappointing.
Hi SosiMusic!
Hope you are doing well. I’m really sorry for making you feel that way. Actually, the fault is at my end as I just solved the issue, but I didn’t report the version mismatch thing to the team.
I will let them know ASAP.
Regards,
Nithin