From b7720d0b11e528678968a9cbd8006b50f1b4be3a Mon Sep 17 00:00:00 2001 From: Cedric Spindler Date: Sun, 10 Dec 2023 22:54:26 +0100 Subject: [PATCH] Show samples with most detections --- batdetect2_gui/application.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/batdetect2_gui/application.py b/batdetect2_gui/application.py index dcd4e27..d24ee63 100755 --- a/batdetect2_gui/application.py +++ b/batdetect2_gui/application.py @@ -700,7 +700,8 @@ def create_dataset(audio_dir, annotation_dir): left join prod.batnet_results r on r.file_id = f.file_id where f.deployment_id = 1771 and class_prob > 0.5 group by object_name - limit 30; + order by cnt desc + limit 100; ''') # c.execute(f''' # select object_name from prod.files_audio