ywflow / BubMask

Mask R-CNN for object detection and instance segmentation on Keras and TensorFlow
Other
33 stars 15 forks source link

what is the code of calculate_mAP #7

Open simpo-lei opened 1 year ago

simpo-lei commented 1 year ago

In the model.py, a compile method is defined as and

    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'])

Problem is that there is no definition of calculate_mAP. What is this metric?