Shortcuts

VOCAveragePrecision

class mmpretrain.evaluation.VOCAveragePrecision(*arg, difficult_as_positive=None, **kwarg)[源代码]

Calculate the average precision with respect of classes for VOC dataset.

参数:
  • difficult_as_postive (Optional[bool]) – Whether to map the difficult labels as positive in one-hot ground truth for evaluation. If it set to True, map difficult gt labels to positive ones(1), If it set to False, map difficult gt labels to negative ones(0). Defaults to None, the difficult labels will be set to ‘-1’.

  • **kwarg – Refers to AveragePrecision for detailed docstrings.

Read the Docs v: latest
Versions
latest
stable
mmcls-1.x
mmcls-0.x
dev
Downloads
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.