We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05acd1e commit 64f958eCopy full SHA for 64f958e
confusion_matrix.py
@@ -80,7 +80,7 @@ def process_batch(self, detections, labels):
80
self.matrix[(gt_class), self.num_classes] += 1
81
82
for i, detection in enumerate(detections):
83
- if all_matches.shape[0] and all_matches[all_matches[:, 1] == i].shape[0] == 1:
+ if all_matches.shape[0] and all_matches[all_matches[:, 1] == i].shape[0] == 0:
84
detection_class = detection_classes[i]
85
self.matrix[self.num_classes ,detection_class] += 1
86
0 commit comments