def compile(self, learning_rate, beta_1, beta_2):
"""Gets the model ready for training. Adds losses, regularization, and
metrics. Then calls the Keras compile() function.
"""
......
self.keras_model.compile(
optimizer=optimizer,
loss=[None] * len(self.keras_model.outputs),
metrics=['accuracy', 'calculate_mAP'])
In the model.py, a compile method is defined as and
Problem is that there is no definition of calculate_mAP. What is this metric?