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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stephane Chavin
PSI-BIOM-deprecated
Commits
7154a3f0
Commit
7154a3f0
authored
2 years ago
by
Stephane Chavin
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
75ef7f9e
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
+20
-1
20 additions, 1 deletion
README.md
with
20 additions
and
1 deletion
README.md
+
20
−
1
View file @
7154a3f0
...
@@ -42,7 +42,7 @@ python3 detect.py --weights ../psi-biom/YOLOV5/weights/best.pt --img 224 --conf
...
@@ -42,7 +42,7 @@ python3 detect.py --weights ../psi-biom/YOLOV5/weights/best.pt --img 224 --conf
*
Sauvegarde les annotations en .txt seulement avec la confiance de chaque détections
*
Sauvegarde les annotations en .txt seulement avec la confiance de chaque détections
```
bash
```
bash
python3 detect.py
--weights
..psi-biom/best.pt
--img
224
--conf
0.X
--source
PATH_TO_IMG
--save-txt
--nosave
--save-conf
python3 detect.py
--weights
..
/
psi-biom/
YOLOV5/weights/
best.pt
--img
224
--conf
0.X
--source
PATH_TO_IMG
--save-txt
--nosave
--save-conf
```
```
</details>
</details>
...
@@ -64,4 +64,23 @@ names = []
...
@@ -64,4 +64,23 @@ names = []
</details>
</details>
<details>
<summary>
Conversion des détection YOLO vers LabelMe
</summary>
<p>
</p>
```
bash
pip
install
globox
globox convert yolov5/runs/detect/labels/ YOUR_DIRECTORY_WICH_DATA_WILL_BE_STORED
--formet
yolo
--save_fmt
labelme
--img
PATH_TO_IMAGES
```
*
Ce script permet de convertir les .txt en .json pour les ouvrir dans LabelMe mais il ne prend pas en compte le paramètre 'imageData' donc il est important d'ensuite utiliser le second script
```
bash
python3 get_json_file_YOLO.py
-p
-d
```
</details>
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