C4_W2 Page Crash when loading 'model.pkl.gz'

The notebook crashes while (or shortly after) loading ‘model.pkl.gz’. This is immediately before UNQ 9.

When I submit the assignment, my UNQ_9 passes the grader (so - yay! passed the assignment), but the results for UNQ 10 are “There was a problem grading your submission. Check stderr for more details.”

What should I do?

Hi @Steven1,

This probably means you are not doing something right which is crashing the grader. Let me DM regarding this.

Regards,
Mubsi

Hi Steven1,

The model can take a long time to load. Unfortunately, the reason for this is not completely clear. Have a look at this thread. You could try loading the model, take a break of around 15 minutes, and see whether it has succesfully loaded. Alternatively, you can just go head with week 3.
Sorry about that, I wish I could help you to truly resolve this issue.

Hi @reinoudbosch ,

The problem isn’t that the model is taking so long to load. It’s that my webpage crashes before (or shortly after) it finishes.

I’ve never been able to test UNQ 9 or 10 for myself. The grader passes UNQ 9, so I figure it’s OK. My lab ID is ukqkbtnulctn. Is there a chance you could look at my UNQ 10 & let me know if there’s any sort of obvious slip-up/lack of understanding, or if this is just tied up with the model problem?

Hi Steven1,

Unfortunately I cannot access your assignment through your lab ID. I would suggest you wait for @Mubsi to DM you. If there should be an issue unrelated to your code, he will be the best person to help you.

Hi @Steven1,

As @reinoudbosch, this is unpredictable behaviour and are unable to clearly figure out what causes it. I was able to run your assignment, even after successfully loading the model, the assignment sort of became unresponsive (I have seen this behaviour many times before with this assignment) and I too couldn’t get to UNQ C9 & 10.

As you mentioned, if you submit your assignment, you are able to pass till UNQ C9. I have fixed your mistake in UNQ C10, so you should be able to pass that as well now. Let me know if you are unable to.

I apologise for the inconvenience you have faced. I have taken a note of this and will try to improve this experience for you and others.

Best,
Mubsi

Hi @Mubsi ,

Thanks. I suppose that’ll teach me to read the instructions more carefully…

Steven

In my case, the loading process never ends.

@Mubsi I have a similar issue. The web page seems to crash when loading the pre-trained model. The grader returns: “There was a problem grading your submission. Check stderr for more details.” What shall I do? I do not see any issues so far and no error log is thrown. At this time, the submission was marked with 80/100 not passed.

I’ve tried it multiple times. So the issue lays in the loading the pre-trained weights from the file system. This in fact probably causes the issue for the grader.

Hi @Pascal_Giessler,

Can you share the output of your grader ? Particularly of the exercises. I want to see which ones you have passed and which ones you failed.

Please tag me when you reply.

Thanks,
Mubsi

Hi @Mubsi ,

I got it to work :slight_smile: Passed all of them now. The issue in the notebook did not affect the grader. Thanks for your fast response on that.

Kind regards
Pascal

Hi @Pascal_Giessler,

Glad to hear that. In that case, I think it is possible that something changed in your notebook which shouldn’t have had.

Best,
Mubsi