C2M3 - An Expected error occur. Submmiting Assignament

When I attempt to submmit my assignment corresponds to C2 - M3 Pytorch for Deep Learning. I’ve got an expected error. I tried several times but I was getting the same issue. Can you help with this, please?

hello @gagusti

did you edit out anything outside the code markers ###start and end code here ###?

a grader feedback like thiss, points there is probably changes made to either the file name or editing/deleting of headers related grade cells which when autograder doesn’t find, give an unexpected! error.

if you have passed all the unittest and confident of your codes being correct, try this approach.
first download! a copy of your current work for comparison, then click on the 3 dots on right corner side==> now click on the restore original version. you will! have a fresh assignment file, now write codes only by replacing the None placed between code.markers. before submitting make sure to save your work by clicking on the save emicon :floppy_disk:, now submit.

Let us know if issue persist

Regards
Dr. Deepti

Hello @Deepti_Prasad

The issue was executing the remaining cells in the notebook. Anyway I followed your advice about to restore the original version and after that I completed the None, but this last time I execute all cells until the end.

Thanks!

Regards

Guillermo

what do you mean? you didn’t run all the cells?

running down all the cells in sequence from beginning :right_arrow:end with successful matched output of the unittest cells is mandatory before one submits an assignment for grading.

good luck! glad it worked around.

regards
Dr. Deepti

Hi @gagusti,

I tried your notebook, and everything seems to be fine. When I submitted it for grading, I got full marks.

One thing particular in this assignment is that you have to say your training results before you submit for grading, since they are part of grading. Are you running this cell?

In any case, try submitting again, and be sure to save the results before you submit.

If the issue remains, let me know.

Best,
Mubsi