Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PSI-BIOM-deprecated
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stephane Chavin
PSI-BIOM-deprecated
Commits
80c46bbb
Commit
80c46bbb
authored
2 years ago
by
Stephane Chavin
Browse files
Options
Downloads
Plain Diff
Merge branch 'main' of
https://gitlab.lis-lab.fr/stephane.chavin/psi-biom
parents
d315b398
de08f8d8
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+3
-3
3 additions, 3 deletions
README.md
with
3 additions
and
3 deletions
README.md
+
3
−
3
View file @
80c46bbb
...
...
@@ -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>
...
...
@@ -53,7 +53,7 @@ python3 detect.py --weights ..psi-biom/best.pt --img 224 --conf 0.X --source PAT
```
bash
cd
../
python3 get_yolo_detection.py
-p
PATH_TO_
YOUR_IMG
-d
DIRECTION_OF_THE_RESULT
python3 get_yolo_detection.py
-p
PATH_TO_
THE_TXT
-d
DIRECTION_OF_THE_RESULT
#PATH_TO_THE_TXT ~ yolov5/runs/detect/expX/labels/
```
**WARNING**
: Il est important d'ajouter sa propre liste de classes (ligne 79)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment