From e3148044122172b5df45652e844fa4b847a29401 Mon Sep 17 00:00:00 2001 From: henry senyondo Date: Sun, 1 Oct 2023 14:43:48 -0400 Subject: [PATCH] Style clean up (#486) --- deepforest/evaluate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deepforest/evaluate.py b/deepforest/evaluate.py index 6be45b87..0ee87061 100644 --- a/deepforest/evaluate.py +++ b/deepforest/evaluate.py @@ -155,7 +155,7 @@ def evaluate(predictions, ground_df, root_dir, iou_threshold=0.4, savedir=None): box_recall = np.mean(box_recalls) # Only matching boxes are considered in class recall - matched_results = results[results.match==True] + matched_results = results[results.match == True] class_recall = compute_class_recall(matched_results) return {