src/tools/benchmark_tool/benchmark_tool/benchmark_task/euclidean_cluster_node_task.py
def compute_results(self):
        """
        Compute the final benchmark results.

        @return: None
        """
        info(self.node, "Start metric computation...")
        # Compute the kitti 3D object detection metrics
        if self._limit_frame >= self.EXPECTED_KITTI_FRAME_ACCURACY:
            if not self._kitti_3d_metric.compute_metric():
                error(self.node,
                      "Problem computing 3D object detection metrics")
        else:
            info(self.node, "Accuracy computation needs a number of frame " +
                 "equal to %d. Skipping..." % self.EXPECTED_KITTI_FRAME_ACCURACY)

        # Compute the speed metric
        if not self._speed_metric.compute_metric("Speed during benchmark (milliseconds): " +
                                                 "\nMin: %.3f\nAverage: %.3f\nMax: %.3f"):
            error(self.node,
                  "Problem computing speed metrics")

        Compute the final benchmark results.

        @return: None
        
Compute the final benchmark results.
Compute the final benchmark results .
def compute_results(self):
        info(self.node, "Start metric computation...")
        if self._limit_frame >= self.EXPECTED_KITTI_FRAME_ACCURACY:
            if not self._kitti_3d_metric.compute_metric():
                error(self.node,
                      "Problem computing 3D object detection metrics")
        else:
            info(self.node, "Accuracy computation needs a number of frame " +
                 "equal to %d. Skipping..." % self.EXPECTED_KITTI_FRAME_ACCURACY)
        if not self._speed_metric.compute_metric("Speed during benchmark (milliseconds): " +
                                                 "\nMin: %.3f\nAverage: %.3f\nMax: %.3f"):
            error(self.node,
                  "Problem computing speed metrics")
def compute_results ( self ) : info ( self . node , "Start metric computation..." ) if self . _limit_frame >= self . EXPECTED_KITTI_FRAME_ACCURACY : if not self . _kitti_3d_metric . compute_metric ( ) : error ( self . node , "Problem computing 3D object detection metrics" ) else : info ( self . node , "Accuracy computation needs a number of frame " + "equal to %d. Skipping..." % self . EXPECTED_KITTI_FRAME_ACCURACY ) if not self . _speed_metric . compute_metric ( "Speed during benchmark (milliseconds): " + "\nMin: %.3f\nAverage: %.3f\nMax: %.3f" ) : error ( self . node , "Problem computing speed metrics" )
Compute the final benchmark results.
Compute the final benchmark results .
"""
        Compute the final benchmark results.

        @return: None
        """ # Compute the kitti 3D object detection metrics # Compute the speed metric
None
self