sequnce models
- Week1 jazz Improvisation with LSTM
after submitting i am getting 0/100 and the error is Cell #17. Can’t compile the student’s code. Error: AssertionError(‘Error in test’).
sequnce models
Typically this means your code doesn’t work with the test cases that the grader uses.
how should i fix it?
Check your code and verify that it will work with any size or shape of input data. Avoid using constant values when a variable is provided.
Check carefully that you are NOT using any global variables within your code.
Also be careful that you did not make any modifications to the notebook outside of the areas marked for your code. Don’t add, delete, or move any cells within the notebook.
Would it be possible to get a fresh copy of this assignment workbook so I can begin the assignment again?
Yes. Here is the guide.
I tried to get the fresh of the assignment the second time and this error is shown “Comment line with index: UNQ_C3
wasn’t found in code”, even though the ln[21] has “UNQ_C3 (UNIQUE CELL IDENTIFIER, DO NOT EDIT)” in the begining.
Moderator Edit: Solution Code Removed.
please find the attached pdf of the same assignment.
You are right that the attached file has that line. But the grader recognize the notebook with a standard name. Maybe you have multiple Notebooks and the grader is trying to grad the old file. Have you renamed the old file, before getting the fresh copy of you assignment?
PS: Sharing your code in a public thread is not allowed Please avoid sharing it.
That means the notebook that is being graded has been edited to remove the comment line that contains the grader tag.
what is the solution for this?
I recommend you get a new copy of the notebook and start over.
You’ll have to delete or rename your existing notebook.
Then use the “Lab Help” tool and use “Get latest version”.
“Get latest version” will only replace a missing file - it will not overwrite the existing notebook. That’s why you have to delete or rename your notebook first.
Note also: You cannot grade a notebook that you have renamed. The grader always uses the original notebook file name.