C3W2_Assignment - masked_accuracy - truth value of an array with more than one element is ambiguous

I got a totally fresh copy, put the changes back in, passed all first five functions (putting a " grade-up-to-here" in sixth).

When I ran grader, all failed with this message:
image
@Deepti_Prasad

@januttall

I highly recommend you to be patient here, for some assignment grade-up-to-here does not work.

So, please listen to my steps one by one. You need to write codes for all the grade cells.

Now write codes only where it mentions None in (green color) between ###START and END CODE HERE. Do not remove any other part of the instructions already given for all the grade cell.

Your grade one cell codes were correct. so write it as before.

Grade cell label vectorizer code error for

Update: lab was updated again recently so part of codes needed correction for the label_vectorizer

Please confirm once this is done.

Regards
DP

What happens when you run the later cell with the “model.fit()” call in it? Does that run without problems? Just having the tests for masked_accuracy and masked_cost pass is not sufficient for the model training to work.

Also note that I fundamentally don’t trust the “grade-up-to-here” facility. My recommendation would be to complete the predict function, but if your model fit does not work it will be hard to test predict.