Impossible to submit assignments bc of DataLoader error

dataloader = DataLoader(
    MNIST(".", download=False, transform=transforms.ToTensor()),
    batch_size=batch_size,
    shuffle=True
)
  • download=False gives error: Cell #12. Can't compile the student's code. Error: RuntimeError('Dataset not found. You can use download=True to download it',)
  • download=True gives error: Cell #12. Can't compile the student's code. Error: <HTTPError 403: 'Forbidden'>

This happens in assignments 1, 3 and 4 of this course, and also in some of the assignments of the subsequent courses. I’ve tried from home, from the local library, … (in case it’s a network issues). When I run the notebook it works (with download True or False). Assignments 2 and 5 of this course I have been able to submit

I’ve also contacted Coursera Support and they said they don’t know and can’t do anything about it

Hi Leander!
Welcome to the community.

I’m not sure why you are facing this error. I’m not able to reproduce this error in my notebook as the grader grades it and I’m able to get 100%. Grader won’t work with download=True, but it should be working with download=False. Maybe give it another try or start with a fresh copy of the notebook. And I hope that you haven’t edited any cells that users are not supposed to edit.

Regards,
Nithin

Hi Nithin! The problem is that when I set download=False I get an error that tells me to set it to True:

Cell #12. Can't compile the student's code. Error: RuntimeError('Dataset not found. You can use download=True to download it',)

@Mubsi can you please take a look at this? Any solution?

Hi @Leander,

As @Nithin_Skantha_M suggested, please try refreshing your assignment, start again and then try submitting. Let me know what happens.

Thanks,
Mubsi

The problem was the double quotes. "." causes an error for some reason, '.' works