From 304f011d62c5c193f7fb95f0a0375fc927ba5ead Mon Sep 17 00:00:00 2001 From: lupeng Date: Wed, 6 Sep 2023 12:41:30 +0800 Subject: [PATCH] fix ut --- .../test_evaluator/test_multi_dataset_evaluator.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/test_evaluation/test_evaluator/test_multi_dataset_evaluator.py b/tests/test_evaluation/test_evaluator/test_multi_dataset_evaluator.py index f27fee1289..ef75d4332d 100644 --- a/tests/test_evaluation/test_evaluator/test_multi_dataset_evaluator.py +++ b/tests/test_evaluation/test_evaluator/test_multi_dataset_evaluator.py @@ -47,13 +47,10 @@ def setUp(self) -> None: self.datasets = [dataset_coco_val, dataset_aic_val] self.metrics = [ + dict(type='CocoMetric', ann_file='tests/data/coco/test_coco.json'), dict( type='CocoMetric', - ann_file='data/coco/annotations/person_keypoints_val2017.json' - ), - dict( - type='CocoMetric', - ann_file='data/aic/annotations/aic_val.json', + ann_file='tests/data/aic/test_aic.json', use_area=False, gt_converter=aic_to_coco_converter, prefix='aic')