Skip to content

Commit d95c9fa

Browse files
committed
lint
1 parent 1fae165 commit d95c9fa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mmeval/metrics/lvis_detection.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class LVISDetection(COCODetection):
3737
proposal_nums (int): Numbers of proposals to be evaluated.
3838
Defaults to 300.
3939
metric_items (List[str], optional): Metric result names to be
40-
recorded in the evaluation result. If None, default configurations
40+
recorded in the evaluation result. If None, default configurations
4141
in LVIS will be used.Defaults to None.
4242
format_only (bool): Format the output results without performing
4343
evaluation. It is useful when you want to format the result
@@ -172,7 +172,8 @@ def __call__(self, *args, **kwargs) -> Dict:
172172

173173
return metric_result
174174

175-
def compute_metric(self, results: list) -> Dict[str, Union[float, list]]: # type: ignore
175+
def compute_metric( # type: ignore
176+
self, results: list) -> Dict[str, Union[float, list]]:
176177
"""Compute the LVIS metrics.
177178
178179
Args:

0 commit comments

Comments
 (0)