C2_W1_Assignment Exercise 1 - grader says model has zero layers when it does have layers

I’m trying to do the first assignment, C2_W1_Assignment and I’m running into a problem. For the first exercise, my code passes the tests within the Jupyter notebook. However, it fails in the grader with “Failed test case: model does not have 3 layers. Expected: 3, but got: 0.” The code which I’m currently using is identical to that in the hints. (I originally had some very similar code which a named/ keyword argument more like what is in the lecture notes e.g. the first layer had ‘Dense(units=25, activation=“sigmoid”)’; but I changed to what is in the hint in case the grader is very picky and prefers a specific implementation.). After a couple of attempts, I tried doing Kernel → “Restart and run all” and then submitting right after; but then it failed again. (Also, tried doing a “save and checkpoint”, then “restart and run all” and then submitting - still fails.)

Exercise 2 is also failing in the grader (while it passes the tests in the Jupyter notebook); but I expect that something is not working - either in my code when graded or in the grader itself - such that the model is not set up properly when exercise 2 is graded,

William

Actually it looks like “save and checkpoint” is not working either right now and I have no saved checkpoints at all despite using it. I see above the notebook “Autosave Failed!” and I can’t download my latest version of the notebook either; because an empty window pops up when I attempt to do so. A bit worried I will have to re-do all of my work then. Attaching a screenshot hopefully with the window scrolled to the most recent location,

William

Okay, I tried revisiting the assignment page again and I got this; so I may have to wait for something to be fixed on the server,

William

Okay, this has just worked and marked my assignment correct after revisiting the page and finding that it was available again. My earlier code was indeed not saved; but in order to save my work I copied-and-pasted my code from the “insertion points” in the notebook into an offline text file earlier,

William

Seems likely to have been a glitch in the cloud.
I was unable to test it before it started working again.
There was a similar report from another learner, in the same time-frame.

1 Like