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/29 14:22] – serge | yolo_sans_carte_graphique [2020/12/27 15:10] (Version actuelle) – serge | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== Yolo Darknet sans carte graphique ====== | ====== Yolo Darknet sans carte graphique ====== | ||
- | <WRAP center round box 80% centeralign> | + | <WRAP center round box 60% centeralign> |
- | //**Installation de YOLO Darknet sur un portable sans carte graphique**// | + | **{{tagpage> |
</ | </ | ||
- | + | <WRAP center round box 60% centeralign> | |
- | <WRAP center round box 80% centeralign> | + | **[[les_pages_intelligence_artificielle_en_details|Les Pages Intelligence Artificielle |
- | **{{tagpage> | + | |
</ | </ | ||
- | {{ chappe.jpeg? | + | <WRAP center round box 60% centeralign> |
+ | **{{tagpage> | ||
+ | </ | ||
+ | <WRAP center round box 60% centeralign> | ||
+ | C'est quoi un sémaphore ? | ||
+ | {{ youtube> | ||
+ | {{ media_05:chappe.jpeg? | ||
+ | </ | ||
+ | \\ \\ | ||
+ | <WRAP center round box 60% centeralign> | ||
+ | // | ||
+ | // | ||
+ | </ | ||
=====Sources et ressources===== | =====Sources et ressources===== | ||
* **[[https:// | * **[[https:// | ||
Ligne 20: | 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 38: | 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 53: | Ligne 62: | ||
backup = backup/ | backup = backup/ | ||
</ | </ | ||
+ | </ | ||
- | **cfg/ | + | <WRAP half column> |
- | <code> | + | **Créer un fichier obj.names:** |
- | Line 2: batch=24 | + | |
- | Line 3: set subdivisions=8 | + | |
- | Line 120: set classes=1 | + | |
- | Line 114: filters=160 | + | |
- | </ | + | |
- | + | ||
- | **test.txt et train.txt** sont à coller dans le dossier darknet\\ | + | |
- | Les chemins dans ces fichiers sont absolus ! | + | |
- | =====Un petit calcul d' | + | |
- | ./darknet detector train cfg/ | + | |
- | + | ||
- | ça crée un dossier darknet/ | + | |
- | + | ||
- | **yolov3-tiny_1000.weights\\ | + | |
- | yolov3-tiny_2000.weights\\ | + | |
- | yolov3-tiny_3000.weights | + | |
- | ** | + | |
- | + | ||
- | =====Un test enfin !===== | + | |
- | Créer un fichier obj.names: | + | |
< | < | ||
a | a | ||
Ligne 89: | Ligne 79: | ||
z | 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' | ||
+ | ./darknet detector train cfg/ | ||
+ | |||
+ | ça crée un dossier darknet/ | ||
+ | |||
+ | **yolov3-tiny_1000.weights yolov3-tiny_2000.weights yolov3-tiny_3000.weights** | ||
+ | |||
+ | =====Un test enfin !===== | ||
| | ||
- | ./darknet detector test cfg/ | + | ./darknet detector test cfg/ |
Le résultat est dans l' | Le résultat est dans l' | ||
- | {{ :2019_03: | + | {{ media_01: |
**Efficacité = 0.00 %** | **Efficacité = 0.00 %** | ||
=====Conclusion===== | =====Conclusion===== | ||
- | De meilleurs résultats, avec une carte graphique | + | Cette installation sert uniquement à apprendre, la suite avec une carte graphique: **[[yolo_darknet_sur_un_portable_optimus|Yolo Darknet sur un portable Optimus]]** |
- | Et encore mieux **[[yolo_darknet_sur_un_gros_centre_de_calcul|Yolo Darknet sur un gros centre de calcul]]**. | + | {{tag> ia sb semaphore |
- | + | ||
- | + | ||
- | + | ||
- | {{tag> ia sb semaphore }} | + |
yolo_sans_carte_graphique.1553869377.txt.gz · Dernière modification : 2019/03/29 14:22 de serge