This question concerns the metric used in the fine-tuning part. I put
metrics=tf.keras.metrics.Accuracy()
in the metric initialization. But system gives an error reading
TypeError: 'Accuracy' object is not subscriptable
I think it makes sense because in the code (the assertion part) given, we have
assert metrics[0] == 'accuracy', "Wrong metric"
I was wondering if it was my variable declaration wrong or it was the problem of the testing code. Thanks!