From 1c37dc8fb1a3fd921bee526aa00eced08a1c0928 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Mon, 3 Jun 2019 11:39:27 +0200 Subject: [PATCH] Added debug prints for get_precision_recall Signed-off-by: Jim Martens --- src/twomartens/masterthesis/evaluate.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/twomartens/masterthesis/evaluate.py b/src/twomartens/masterthesis/evaluate.py index f6925bc..2090f27 100644 --- a/src/twomartens/masterthesis/evaluate.py +++ b/src/twomartens/masterthesis/evaluate.py @@ -253,6 +253,8 @@ def get_precision_recall(number_gt_per_class: np.ndarray, """ cumulative_precisions = [[]] cumulative_recalls = [[]] + print(len(cumulative_true_positives)) + print(cumulative_true_positives) # Iterate over all classes. for class_id in range(1, nr_classes + 1):