I have an issue with Exercise 3:
I have defined:
metrics = tf.keras.metrics.Accuracy(name=“accuracy”)
The following assertion fails:
assert metrics[0] == ‘accuracy’, “Wrong metric”
This assertion doesn’t make sense to me.
I have replaced it by the assertion
assert metrics.name == ‘accuracy’, “Wrong metric”
which passes but of course that the grader goes with the original assertion.