Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ava_evaluation/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def compute_precision_recall(scores, labels, num_gt):
"""
if (
not isinstance(labels, np.ndarray)
or labels.dtype != np.bool
or labels.dtype != bool
or len(labels.shape) != 1
):
raise ValueError("labels must be single dimension bool numpy array")
Expand Down