From f7aa4e6e06e7ee6d20edfc43ed25c88ceb967c89 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Thu, 31 Jul 2025 17:13:26 -0600 Subject: [PATCH] fix: lower image sorting confidence threshold --- sort.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sort.py b/sort.py index e514965..c246068 100644 --- a/sort.py +++ b/sort.py @@ -13,7 +13,7 @@ def sort_images(): MODEL_PATH = 'garage_door_cnn.pth' SOURCE_DIR = 'data/hourly_photos/' DEST_DIR = 'data/sorted/open/' - CONFIDENCE_THRESHOLD = 0.95 # Only copy if confidence is over this value + CONFIDENCE_THRESHOLD = 0.90 # Only copy if confidence is over this value # The classes are sorted alphabetically by ImageFolder: ['closed', 'open']