open-mmlab / mmengine

OpenMMLab Foundational Library for Training Deep Learning Models
https://mmengine.readthedocs.io/
Apache License 2.0
1.18k stars 356 forks source link

[Feature] 怎样得到每个类别的精确率和召回率等指标? #1546

Closed anzitong closed 5 months ago

anzitong commented 6 months ago

What is the feature?

我添加ACC、F1得到的都是总体的评估指标。我想得到每个类别的指标应该怎么做?

Any other context?

No response

zhouzaida commented 6 months ago

这个取决于你的 metric 实现,你可以看一下这些评价指标是在哪个 metric 进行计算的