tools/accuracy_checker/accuracy_checker/metrics/metric_executor.py
def update_metrics_on_batch(self, batch_ids, annotation, prediction):
        """
        Updates metric value corresponding given batch.

        Args:
            annotation: list of batch number of annotation objects.
            prediction: list of batch number of prediction objects.
        """

        results = OrderedDict()

        for input_id, single_annotation, single_prediction in zip(batch_ids, annotation, prediction):
            results[input_id] = self.update_metrics_on_object(single_annotation, single_prediction)

        return results

        Updates metric value corresponding given batch.

        Args:
            annotation: list of batch number of annotation objects.
            prediction: list of batch number of prediction objects.
        
Updates metric value corresponding given batch.
Updates metric value corresponding given batch .
def update_metrics_on_batch(self, batch_ids, annotation, prediction):
        results = OrderedDict()
        for input_id, single_annotation, single_prediction in zip(batch_ids, annotation, prediction):
            results[input_id] = self.update_metrics_on_object(single_annotation, single_prediction)
        return results
def update_metrics_on_batch ( self , batch_ids , annotation , prediction ) : results = OrderedDict ( ) for input_id , single_annotation , single_prediction in zip ( batch_ids , annotation , prediction ) : results [ input_id ] = self . update_metrics_on_object ( single_annotation , single_prediction ) return results
Updates metric value corresponding given batch.
Updates metric value corresponding given batch .
"""
        Updates metric value corresponding given batch.

        Args:
            annotation: list of batch number of annotation objects.
            prediction: list of batch number of prediction objects.
        """
self
batch_ids
annotation
list of batch number of annotation objects.
list of batch number of annotation objects .
prediction
list of batch number of prediction objects.
list of batch number of prediction objects .