From c57cd68d5a1d456345babc17317881682324d738 Mon Sep 17 00:00:00 2001 From: Stephane Chavin <stephanechvn@gmail.com> Date: Thu, 19 Jan 2023 16:18:46 +0100 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0084158..738d356 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ python3 train.py --img IMG_SIZE --batch BATCH_SIZE --EPOCHS NB_EPOCHS --data DIR * Sauvegarde les annotations en .txt ainsi que les images avec les bounding box dessus ```bash -python3 detect.py --weights ../psi-biom/best.pt --img 224 --conf 0.X --source PATH_TO_SPECTROGRAM_TO_DETECT --save-txt +python3 detect.py --weights ../psi-biom/best.pt --img 224 --conf 0.X --source PATH_TO_IMG --save-txt ``` **WARNING** : Il faut adapter EXP_NB, qui correspond au numéro de l'entrainement *(exp1 pour le premier entrainement)* @@ -42,7 +42,7 @@ python3 detect.py --weights ../psi-biom/best.pt --img 224 --conf 0.X --source PA * Sauvegarde les annotations en .txt seulement avec la confiance de chaque détections ```bash -python3 detect.py --weights ..psi-biom/best.pt --img 224 --conf 0.X --source PATH_TO_SPECTROGRAM_TO_DETECT --save-txt --nosave --save-conf +python3 detect.py --weights ..psi-biom/best.pt --img 224 --conf 0.X --source PATH_TO_IMG --save-txt --nosave --save-conf ``` </details> -- GitLab