Grader error, c3w3:NLP

in NLP sequential model, while running the assignment c3w3, I’m getting an “error grading your submission. Details:\noperands could not be broadcast together with shapes (3500,64) (3500,0)”, despite all unit test case are passed.

1 Like

I’ve moved your post to the correct forum area.

Note: Passing the tests in the notebook does not prove your code is perfect. The grader uses different tests.

2 Likes

Exactly. One type of bug to look for would be hard-coding assumptions about dimensions of the input to match the tests in the notebook. The grader may probe your code by using test inputs with different sizes.

1 Like

hi @Abhishek_Maurya2

please share screenshot of your submission grader output and the test you are passing, make sure the image do not contain any of the codes you wrote which graded your assignment.

Regards
DP

Hi @Deepti_Prasad, here is the error snippet


Btw, I haven’t hardcoded results to pass the test cases given in the notebook.

1 Like

could you share screenshot of the classify grade cell via personal DM. don’t post codes here.

click on my name and then message