From 19c7715ec66d434e9b31dff6d388e326b1bced09 Mon Sep 17 00:00:00 2001 From: JingweiZhang12 Date: Tue, 6 Dec 2022 19:26:28 +0800 Subject: [PATCH] fix bug in waymo metrics --- mmdet3d/evaluation/metrics/waymo_metric.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mmdet3d/evaluation/metrics/waymo_metric.py b/mmdet3d/evaluation/metrics/waymo_metric.py index 4010efb65..272b8cb0b 100644 --- a/mmdet3d/evaluation/metrics/waymo_metric.py +++ b/mmdet3d/evaluation/metrics/waymo_metric.py @@ -178,7 +178,7 @@ def compute_metrics(self, results: list) -> Dict[str, float]: for metric in self.metrics: ap_dict = self.waymo_evaluate( pklfile_prefix, metric=metric, logger=logger) - metric_dict[metric] = ap_dict + metric_dict.update(ap_dict) if eval_tmp_dir is not None: eval_tmp_dir.cleanup()