[Fix] evaluator ut (#1285)

pull/1261/head
liukuikun 2022-08-16 17:34:07 +08:00 committed by GitHub
parent bcc245efd3
commit 587566d2c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ def generate_test_results(size, batch_size, pred, label):
class TestMultiDatasetsEvaluator(TestCase):
def test_composed_metrics(self):
DefaultScope.get_instance('mmocr', scope_name='mmocr')
DefaultScope.get_instance('mmocr_metric', scope_name='mmocr')
cfg = [
dict(type='ToyMetric'),
dict(type='ToyMetric', dummy_metrics=dict(mAP=0.0))