From ae69a8db2f3769b962654384b4f20c1f799e1a2a Mon Sep 17 00:00:00 2001
From: Stephane Chavin <stephane.chavin@lis-lab.fr>
Date: Mon, 14 Oct 2024 17:36:39 +0200
Subject: [PATCH] correction vmin

---
 yolov5/detect.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/yolov5/detect.py b/yolov5/detect.py
index 1b6c7a5..719b3fd 100755
--- a/yolov5/detect.py
+++ b/yolov5/detect.py
@@ -280,7 +280,7 @@ def parse_opt():
                                     help="Colormap used for the spectrograms",type=str)
     parser.add_argument('--window', default=1024, help="Window size for each spectrogram for detection",type=int)
     parser.add_argument('--hop', default=0.5, help="Hop lenght for each spectrogram for detection",type=float)
-    parser.add_argument('--vmin', type=str, help='If vmin == True, then the spectrogram minimum color'
+    parser.add_argument('--minimum', type=str, help='If True, then the spectrogram minimum color'
                         ' will be stft.mean(). If False stft.min()', default=True)
     parser.add_argument('--hide-conf', default=False, action='store_true', help='hide confidences')
     parser.add_argument('--half', action='store_true', help='use FP16 half-precision inference')
-- 
GitLab