Open fushh opened 1 year ago
https://github.com/open-mmlab/mmdetection/blob/f78af7785ada87f1ced75a2313746e4ba3149760/mmdet/evaluation/metrics/lvis_metric.py#L295-L296
When evaluating proposals, we ignore the categories. However, the variables of params in lvis eval is not the same as coco eval. It should be lvis_eval.params.use_cats = 0 and lvis_eval.params.max_dets = list(self.proposal_nums).
lvis_eval.params.use_cats = 0
lvis_eval.params.max_dets = list(self.proposal_nums)
Please check the source code and fix the bug.
+1
@fushh Thank you.
https://github.com/open-mmlab/mmdetection/blob/f78af7785ada87f1ced75a2313746e4ba3149760/mmdet/evaluation/metrics/lvis_metric.py#L295-L296
When evaluating proposals, we ignore the categories. However, the variables of params in lvis eval is not the same as coco eval. It should be
lvis_eval.params.use_cats = 0
andlvis_eval.params.max_dets = list(self.proposal_nums)
.Please check the source code and fix the bug.