C3W2_Assignment: Exercise 5 mask_accuracy

Exercise 5 mask_accuracy
I m getting this error and could not resolve it for the past 8 days. Can someone give any hint. I m clue less, after trying my options…

Hi @Jawad

The problem you’re having is that shapes do not match. Maybe you forgot to set axis=-1 for tf.math.argmax()?

Also, check this thread, it might help.