|
|
|
@ -22,7 +22,6 @@ from layer_helper import LayerHelper
|
|
|
|
|
from initializer import Constant
|
|
|
|
|
|
|
|
|
|
__all__ = [
|
|
|
|
|
'Accuracy',
|
|
|
|
|
'ChunkEvaluator',
|
|
|
|
|
'EditDistance',
|
|
|
|
|
'DetectionMAP',
|
|
|
|
@ -273,7 +272,7 @@ class DetectionMAP(Evaluator):
|
|
|
|
|
input (Variable): The detection results, which is a LoDTensor with shape
|
|
|
|
|
[M, 6]. The layout is [label, confidence, xmin, ymin, xmax, ymax].
|
|
|
|
|
gt_label (Variable): The ground truth label index, which is a LoDTensor
|
|
|
|
|
with shape [N, 1].
|
|
|
|
|
with shape [N, 1].
|
|
|
|
|
gt_difficult (Variable): Whether this ground truth is a difficult
|
|
|
|
|
bounding box (bbox), which is a LoDTensor [N, 1].
|
|
|
|
|
gt_box (Variable): The ground truth bounding box (bbox), which is a
|
|
|
|
|