C3W2_Assignment masked_accuracy not working properly

I am trying to make the masked_accuracy work in the C3 W2 Assignment.

I have made the masked_loss function work correctly, but when I do the masked_accuracy function it doesn’t give the right values for the tests. It passes 3 tests and fails 6. I’ve tried everything and nothing seems to work. Need some help, please.

1 Like

Send me the code in private for the masked_accuracy function, I will check it out!

Hello, i’m having exactly the same problem, passes 3 tests and fails 6, can anyone help me please ?