yolo_sans_carte_graphique
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
yolo_sans_carte_graphique [2019/03/19 18:09] – [Un petit calcul d'apprentissage de 24 heures] serge | yolo_sans_carte_graphique [2020/12/27 15:10] (Version actuelle) – serge | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== | + | ====== |
- | <WRAP center round box 80% centeralign> | + | <WRAP center round box 60% centeralign> |
- | **{{tagpage> | + | **{{tagpage> |
+ | </WRAP> | ||
+ | <WRAP center round box 60% centeralign> | ||
+ | **[[les_pages_intelligence_artificielle_en_details|Les Pages Intelligence Artificielle | ||
</ | </ | ||
- | <WRAP center round box 80% centeralign> | + | <WRAP center round box 60% centeralign> |
- | **Installation de YOLO Darknet sur un portable | + | **{{tagpage> |
- | **En première mondiale** | + | </ |
+ | <WRAP center round box 60% centeralign> | ||
+ | C'est quoi un sémaphore ? | ||
+ | {{ youtube> | ||
+ | {{ media_05: | ||
+ | </ | ||
+ | \\ \\ | ||
+ | <WRAP center round box 60% centeralign> | ||
+ | //**Installation de YOLO Darknet sur un portable | ||
+ | //**Simplement pour tester avec 1000 images**// | ||
</ | </ | ||
+ | =====Sources et ressources===== | ||
+ | * **[[https:// | ||
+ | * **[[https:// | ||
+ | * **[[https:// | ||
+ | * **[[https:// | ||
=====Création du set d' | =====Création du set d' | ||
Ligne 14: | Ligne 31: | ||
=====Compilation de darknet===== | =====Compilation de darknet===== | ||
- | ====Dépendances==== | + | Dépendances:\\ |
- | Il est très probable que darknet marche | + | Lancer la compilation et trouver les dépendances |
- | sudo pip3 uninstall opencv-python==4.0.0 | + | |
- | sudo pip3 install opencv-python==3.4.5.20 | + | |
| | ||
- | ====Compilation==== | ||
Modification du fichier Makefile | Modification du fichier Makefile | ||
< | < | ||
Ligne 32: | Ligne 46: | ||
Dans le dossier de darknet: | Dans le dossier de darknet: | ||
- | make | + | make -j8 |
- | =====Premier test===== | + | =====Fichiers manquants |
- | ====Fichiers manquants==== | + | |
**darknet53.conv.74** | **darknet53.conv.74** | ||
wget https:// | wget https:// | ||
+ | <WRAP group> | ||
+ | <WRAP half column> | ||
**cfg/ | **cfg/ | ||
< | < | ||
Ligne 47: | Ligne 62: | ||
backup = backup/ | backup = backup/ | ||
</ | </ | ||
+ | </ | ||
- | **cfg/ | + | <WRAP half column> |
+ | **Créer un fichier obj.names:** | ||
< | < | ||
- | Line 2: batch=24 | + | a |
- | Line 3: set subdivisions=8 | + | space |
- | Line 120: set classes=1 | + | b |
- | Line 114: filters=160 | + | c |
+ | d | ||
+ | |||
+ | etc ..... | ||
+ | |||
+ | x | ||
+ | y | ||
+ | z | ||
</ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ===cfg/ | ||
+ | * **[[yolo_darknet_scripts_de_configuration# | ||
+ | |||
+ | ===*.txt=== | ||
+ | **test.txt et train.txt** sont à coller dans le dossier darknet\\ | ||
+ | Les chemins dans ces fichiers sont absolus ! | ||
+ | |||
=====Un petit calcul d' | =====Un petit calcul d' | ||
- | ./darknet detector train cfg/ | + | ./darknet detector train cfg/ |
- | + | ||
ça crée un dossier darknet/ | ça crée un dossier darknet/ | ||
- | **yolov3-tiny_1000.weights\\ | + | **yolov3-tiny_1000.weights yolov3-tiny_2000.weights yolov3-tiny_3000.weights** |
- | yolov3-tiny_2000.weights\\ | + | |
- | yolov3-tiny_3000.weights | + | |
- | ** | + | |
=====Un test enfin !===== | =====Un test enfin !===== | ||
- | **Zut raté final** | + | |
+ | ./darknet detector test cfg/ | ||
+ | |||
+ | Le résultat est dans l' | ||
+ | {{ media_01: | ||
+ | |||
+ | **Efficacité = 0.00 %** | ||
+ | |||
+ | =====Conclusion===== | ||
+ | Cette installation sert uniquement à apprendre, la suite avec une carte graphique: **[[yolo_darknet_sur_un_portable_optimus|Yolo Darknet sur un portable Optimus]]** | ||
- | {{tag> ia sb semaphore }} | + | {{tag> ia sb semaphore |
yolo_sans_carte_graphique.1553018949.txt.gz · Dernière modification : 2019/03/19 18:09 de serge