<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ML | AlexIn Tech</title><link>https://alexin.tech/fr/tag/ml/</link><atom:link href="https://alexin.tech/fr/tag/ml/index.xml" rel="self" type="application/rss+xml"/><description>ML</description><generator>Hugo Blox Builder (https://hugoblox.com)</generator><language>fr</language><lastBuildDate>Fri, 14 Feb 2025 00:00:00 +0000</lastBuildDate><image><url>https://alexin.tech/media/icon_hu_69c804372a707b16.png</url><title>ML</title><link>https://alexin.tech/fr/tag/ml/</link></image><item><title>Une liste d'outils IA / ML / AGI</title><link>https://alexin.tech/fr/2025/02/14/une-liste-doutils-ia-/-ml-/-agi/</link><pubDate>Fri, 14 Feb 2025 00:00:00 +0000</pubDate><guid>https://alexin.tech/fr/2025/02/14/une-liste-doutils-ia-/-ml-/-agi/</guid><description>&lt;div class="article-story">
&lt;h1 id="liste-des-outils-iamlagi">Liste des outils IA/ML/AGI&lt;/h1>
&lt;h2 id="introduction">Introduction&lt;/h2>
&lt;p>Voici une liste d&amp;rsquo;outils IA / ML / AGI que je mettrai à jour à chaque nouvelle découverte.&lt;/p>
&lt;h2 id="outils-pour-la-création-et-lorganisation-de-contenu">Outils pour la Création et l&amp;rsquo;Organisation de Contenu&lt;/h2>
&lt;h3 id="gamma">Gamma&lt;/h3>
&lt;ul>
&lt;li>&lt;strong>Description&lt;/strong> : Outil d&amp;rsquo;IA permettant de créer des présentations interactives et dynamiques.&lt;/li>
&lt;li>&lt;strong>Local ou Cloud ?&lt;/strong> : Cloud&lt;/li>
&lt;li>&lt;strong>Open Source ?&lt;/strong> : Non&lt;/li>
&lt;li>&lt;strong>Lien&lt;/strong> : &lt;a href="https://gamma.app" target="_blank" rel="noopener">https://gamma.app&lt;/a>&lt;/li>
&lt;/ul>
&lt;h3 id="mapify">Mapify&lt;/h3>
&lt;ul>
&lt;li>&lt;strong>Description&lt;/strong> : Solution basée sur l&amp;rsquo;IA pour générer des cartes mentales interactives.&lt;/li>
&lt;li>&lt;strong>Local ou Cloud ?&lt;/strong> : Cloud&lt;/li>
&lt;li>&lt;strong>Open Source ?&lt;/strong> : Non&lt;/li>
&lt;li>&lt;strong>Lien&lt;/strong> : &lt;a href="https://mapify.so" target="_blank" rel="noopener">https://mapify.so&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="outils-éducatifs-et-mathématiques">Outils Éducatifs et Mathématiques&lt;/h2>
&lt;h3 id="photomath">Photomath&lt;/h3>
&lt;ul>
&lt;li>&lt;strong>Description&lt;/strong> : Application permettant de résoudre des équations mathématiques en prenant une photo du problème.&lt;/li>
&lt;li>&lt;strong>Local ou Cloud ?&lt;/strong> : Cloud (avec fonctionnalités locales)&lt;/li>
&lt;li>&lt;strong>Open Source ?&lt;/strong> : Non&lt;/li>
&lt;li>&lt;strong>Lien&lt;/strong> : &lt;a href="https://Photomath.com" target="_blank" rel="noopener">https://Photomath.com&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="outils-de-génération-de-texte-et-pour-le-développement">Outils de génération de texte et pour le développement&lt;/h2>
&lt;h3 id="ollama">Ollama&lt;/h3>
&lt;ul>
&lt;li>&lt;strong>Description&lt;/strong> : Plateforme pour exécuter des modèles de langage IA en local.&lt;/li>
&lt;li>&lt;strong>Local ou Cloud ?&lt;/strong> : Local&lt;/li>
&lt;li>&lt;strong>Open Source ?&lt;/strong> : Oui&lt;/li>
&lt;li>&lt;strong>Lien&lt;/strong> : &lt;a href="https://ollama.com/" target="_blank" rel="noopener">https://ollama.com/&lt;/a>&lt;/li>
&lt;/ul>
&lt;h3 id="devin">Devin&lt;/h3>
&lt;ul>
&lt;li>&lt;strong>Description&lt;/strong> : Outil d&amp;rsquo;IA pour assister les développeurs dans la génération de code.&lt;/li>
&lt;li>&lt;strong>Local ou Cloud ?&lt;/strong> : Cloud&lt;/li>
&lt;li>&lt;strong>Open Source ?&lt;/strong> : Non&lt;/li>
&lt;li>&lt;strong>Lien&lt;/strong> : &lt;a href="https://devin.ai/" target="_blank" rel="noopener">https://devin.ai/&lt;/a>&lt;/li>
&lt;/ul>
&lt;h3 id="bolt-diy">Bolt DIY&lt;/h3>
&lt;ul>
&lt;li>&lt;strong>Description&lt;/strong> : Outil alimenté par l&amp;rsquo;IA pour créer et exécuter des applications web full-stack dans le navigateur.&lt;/li>
&lt;li>&lt;strong>Local ou Cloud ?&lt;/strong> : Cloud&lt;/li>
&lt;li>&lt;strong>Open Source ?&lt;/strong> : Oui&lt;/li>
&lt;li>&lt;strong>Lien&lt;/strong> : &lt;a href="https://github.com/stackblitz-labs/bolt.diy" target="_blank" rel="noopener">https://github.com/stackblitz-labs/bolt.diy&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="outils-pour-la-génération-et-lamélioration-dimages">Outils pour la Génération et l&amp;rsquo;Amélioration d&amp;rsquo;Images&lt;/h2>
&lt;h3 id="upscayl">Upscayl&lt;/h3>
&lt;ul>
&lt;li>&lt;strong>Description&lt;/strong> : Outil d&amp;rsquo;upscaling d&amp;rsquo;images par IA.&lt;/li>
&lt;li>&lt;strong>Local ou Cloud ?&lt;/strong> : Local&lt;/li>
&lt;li>&lt;strong>Open Source ?&lt;/strong> : Oui&lt;/li>
&lt;li>&lt;strong>Lien&lt;/strong> : &lt;a href="https://github.com/upscayl/upscayl" target="_blank" rel="noopener">https://github.com/upscayl/upscayl&lt;/a>&lt;/li>
&lt;/ul>
&lt;h3 id="stable-diffusion">Stable Diffusion&lt;/h3>
&lt;ul>
&lt;li>&lt;strong>Description&lt;/strong> : Modèle de génération d&amp;rsquo;images par IA développé par Stability AI.&lt;/li>
&lt;li>&lt;strong>Local ou Cloud ?&lt;/strong> : Local&lt;/li>
&lt;li>&lt;strong>Open Source ?&lt;/strong> : Oui&lt;/li>
&lt;li>&lt;strong>Lien&lt;/strong> : &lt;a href="https://stability.ai/stable-image" target="_blank" rel="noopener">https://stability.ai/stable-image&lt;/a>&lt;/li>
&lt;/ul>
&lt;h3 id="stable-diffusion-webui">Stable Diffusion WebUI&lt;/h3>
&lt;ul>
&lt;li>&lt;strong>Description&lt;/strong> : Interface web pour utiliser Stable Diffusion, un modèle de génération d&amp;rsquo;images.&lt;/li>
&lt;li>&lt;strong>Local ou Cloud ?&lt;/strong> : Local&lt;/li>
&lt;li>&lt;strong>Open Source ?&lt;/strong> : Oui&lt;/li>
&lt;li>&lt;strong>Lien&lt;/strong> : &lt;a href="https://github.com/AUTOMATIC1111/stable-diffusion-webui" target="_blank" rel="noopener">https://github.com/AUTOMATIC1111/stable-diffusion-webui&lt;/a>&lt;/li>
&lt;/ul>
&lt;h3 id="dreambooth">Dreambooth&lt;/h3>
&lt;ul>
&lt;li>&lt;strong>Description&lt;/strong> : Technologie permettant d&amp;rsquo;affiner Stable Diffusion avec des images personnalisées.&lt;/li>
&lt;li>&lt;strong>Local ou Cloud ?&lt;/strong> : Local&lt;/li>
&lt;li>&lt;strong>Open Source ?&lt;/strong> : Oui&lt;/li>
&lt;li>&lt;strong>Lien&lt;/strong> : &lt;a href="https://github.com/google/dreambooth" target="_blank" rel="noopener">https://github.com/google/dreambooth&lt;/a>&lt;/li>
&lt;/ul>
&lt;h3 id="deep-live-cam">Deep Live Cam&lt;/h3>
&lt;ul>
&lt;li>&lt;strong>Description&lt;/strong> : Outil de transformation de flux vidéo en temps réel avec IA. (Pour remplacer notre tête par une autre)&lt;/li>
&lt;li>&lt;strong>Local ou Cloud ?&lt;/strong> : Local&lt;/li>
&lt;li>&lt;strong>Open Source ?&lt;/strong> : Oui&lt;/li>
&lt;li>&lt;strong>Lien&lt;/strong> : &lt;a href="https://github.com/hacksider/Deep-Live-Cam" target="_blank" rel="noopener">https://github.com/hacksider/Deep-Live-Cam&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="music">Music&lt;/h2>
&lt;h3 id="suno">Suno&lt;/h3>
&lt;ul>
&lt;li>&lt;strong>Description&lt;/strong> : Plateforme alimentée par l&amp;rsquo;IA pour générer et améliorer de la musique.&lt;/li>
&lt;li>&lt;strong>Local ou Cloud ?&lt;/strong> : Cloud&lt;/li>
&lt;li>&lt;strong>Open Source ?&lt;/strong> : Non&lt;/li>
&lt;li>&lt;strong>Lien&lt;/strong> : &lt;a href="https://suno.com/home" target="_blank" rel="noopener">https://suno.com/home&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="outils-pour-le-chat-et-linteraction-avec-des-modèles-de-langage">Outils pour le Chat et l&amp;rsquo;Interaction avec des Modèles de Langage&lt;/h2>
&lt;h3 id="open-webui">Open-WebUI&lt;/h3>
&lt;ul>
&lt;li>&lt;strong>Description&lt;/strong> : Interface web open-source pour interagir avec des modèles d&amp;rsquo;IA.&lt;/li>
&lt;li>&lt;strong>Local ou Cloud ?&lt;/strong> : Local&lt;/li>
&lt;li>&lt;strong>Open Source ?&lt;/strong> : Oui&lt;/li>
&lt;li>&lt;strong>Lien&lt;/strong> : &lt;a href="https://github.com/open-webui/open-webui" target="_blank" rel="noopener">https://github.com/open-webui/open-webui&lt;/a>&lt;/li>
&lt;/ul>
&lt;h3 id="awesome-chatgpt-prompts">Awesome ChatGPT Prompts&lt;/h3>
&lt;ul>
&lt;li>&lt;strong>Description&lt;/strong> : Liste de prompts optimisés pour ChatGPT et autres modèles de langage.&lt;/li>
&lt;li>&lt;strong>Local ou Cloud ?&lt;/strong> : Cloud&lt;/li>
&lt;li>&lt;strong>Open Source ?&lt;/strong> : Oui&lt;/li>
&lt;li>&lt;strong>Lien&lt;/strong> : &lt;a href="https://github.com/f/awesome-chatgpt-prompts" target="_blank" rel="noopener">https://github.com/f/awesome-chatgpt-prompts&lt;/a>&lt;/li>
&lt;/ul>
&lt;/div></description></item><item><title>Recall - Risques de Sécurité, Exploit TotalRecall et Comment le Désactiver</title><link>https://alexin.tech/fr/2024/06/05/recall-risques-de-securite-exploit-totalrecall-et-comment-le-desactiver/</link><pubDate>Wed, 05 Jun 2024 00:00:00 +0000</pubDate><guid>https://alexin.tech/fr/2024/06/05/recall-risques-de-securite-exploit-totalrecall-et-comment-le-desactiver/</guid><description>&lt;div class="article-story">
&lt;h1 id="recall--risques-de-sécurité-exploit-totalrecall-et-comment-le-désactiver">Recall : Risques de Sécurité, Exploit TotalRecall et Comment le Désactiver&lt;/h1>
&lt;p>La fonctionnalité Recall de Microsoft Copilot+ sur Windows 11 a fait couler beaucoup d’encre. Cette innovation permet de prendre constamment des captures d&amp;rsquo;écran de votre PC et de les stocker dans une base de données, rendant ainsi toutes vos activités informatiques recherchables instantanément par Copilot. Bien que cela puisse sembler pratique pour retrouver des informations rapidement, cette fonctionnalité pose de sérieuses questions en matière de confidentialité et de sécurité.&lt;/p>
&lt;h2 id="quest-ce-que-la-fonctionnalité-recall-">Qu&amp;rsquo;est-ce que la Fonctionnalité Recall ?&lt;/h2>
&lt;p>Recall, introduite avec Microsoft Copilot+ sur Windows 11, permet de retracer vos activités passées en prenant des instantanés (screenshots) de votre écran toutes les cinq secondes. Ces instantanés sont stockés localement et analysés pour permettre une recherche par langage naturel (Copilot). En théorie, cette fonctionnalité est conçue pour améliorer la productivité en offrant un accès rapide aux informations précédemment vues sur votre PC.&lt;/p>
&lt;h2 id="problèmes-de-sécurité-avec-recall">Problèmes de Sécurité avec Recall&lt;/h2>
&lt;p>L&amp;rsquo;article de Kevin Beaumont sur &lt;a href="https://doublepulsar.com/recall-stealing-everything-youve-ever-typed-or-viewed-on-your-own-windows-pc-is-now-possible-da3e12e9465e" target="_blank" rel="noopener">DoublePulsar &lt;/a>met en lumière plusieurs préoccupations majeures :&lt;/p>
&lt;h5 id="stockage-local-des-données">Stockage Local des Données&lt;/h5>
&lt;p>Les captures d&amp;rsquo;écran sont stockées localement dans une base de données SQLite, &lt;strong>accessible à tout utilisateur avec les bonnes permissions.&lt;/strong> Bien que les données soient traitées localement, leur stockage sous forme de texte brut dans des fichiers facilement accessibles représente une vulnérabilité significative. La base de données se trouve simplement dans un dossier dans AppData, ce qui la rend facilement accessible.&lt;/p>
&lt;h5 id="accès-non-sécurisé">Accès Non Sécurisé&lt;/h5>
&lt;p>Malgré l&amp;rsquo;utilisation de chiffrement, les données peuvent être accédées par des logiciels malveillants lorsque l&amp;rsquo;utilisateur est connecté. Le chiffrement n&amp;rsquo;aide que si quelqu&amp;rsquo;un vole physiquement votre appareil, m&lt;strong>ais cela n&amp;rsquo;empêche pas un hacker d&amp;rsquo;accéder aux données via des logiciels malveillants. Par exemple, un trojan&lt;/strong> présent sur la machine pourra exfiltrer les données de Recall.&lt;/p>
&lt;h5 id="exfiltration-facile">Exfiltration Facile&lt;/h5>
&lt;p>La facilité d&amp;rsquo;exfiltration des données est un autre aspect préoccupant de Copilot+ Recall. La base de données contenant les informations de l&amp;rsquo;utilisateur est relativement légère et peut être transmise rapidement via une connexion Internet standard. En quelques secondes, des mois d&amp;rsquo;enregistrement peuvent être exfiltrés sans que l&amp;rsquo;utilisateur ne s&amp;rsquo;en rende compte. Cette vulnérabilité ouvre la porte à des violations massives de données, où les informations des utilisateurs peuvent être rassemblées et vendues sur des marchés noirs.&lt;/p>
&lt;h5 id="impact-sur-la-vie-privée">Impact sur la Vie Privée&lt;/h5>
&lt;p>L&amp;rsquo;impact sur la vie privée des utilisateurs est peut-être la conséquence la plus alarmante de cette fonctionnalité. Copilot+ Recall stocke chaque interaction de l&amp;rsquo;utilisateur, y compris les sites web visités, les messages supprimés, les gestionnaires de mots de passes, les données médicales, etc. Pour faire simple, il screenshot tout chaque 5 secondes et conserver ces informations. Cette surveillance constante et l&amp;rsquo;incapacité à effacer définitivement des informations sensibles soulèvent des préoccupations majeures. La promesse de sécurité de Microsoft est fondamentalement compromise par cette fonctionnalité, qui transforme l&amp;rsquo;expérience personnelle de Windows en une source potentielle de violations de la vie privée.&lt;/p>
&lt;h2 id="totalrecall--un-exploit-pour-recall">TotalRecall : un exploit pour Recall&lt;/h2>
&lt;p>L&amp;rsquo;outil &lt;a href="https://github.com/xaitax/TotalRecall" target="_blank" rel="noopener">TotalRecall&lt;/a>, développé par Alexander Hagenah, exploite cette vulnérabilité en extrayant et affichant les données collectées par la fonctionnalité Recall de Windows 11. Cet outil simple permet d&amp;rsquo;accéder facilement aux informations sur les instantanés d&amp;rsquo;activité de votre PC.&lt;/p>
&lt;h3 id="fonctionnement-de-totalrecall">Fonctionnement de TotalRecall&lt;/h3>
&lt;p>TotalRecall copie la base de donnée &amp;ldquo;&lt;strong>ukg.db&lt;/strong>&amp;rdquo; ainsi que le dossier contenant les captures d&amp;rsquo;écran &amp;ldquo;&lt;strong>ImageStore&lt;/strong>&amp;rdquo;, puis parse la DB et change l&amp;rsquo;extension des screenshots en .jpg pour en faciliter la lecture. Le tout permet de trouver des artefacts potentiellement intéressants. 😈 Vous pouvez définir des dates pour limiter l&amp;rsquo;extraction et rechercher des chaînes de texte spécifiques extraites par l&amp;rsquo;OCR de Copilot/Recall. Le processus est basique mais très efficace pour exposer les vulnérabilités de la fonctionnalité Recall.&lt;/p>
&lt;h3 id="caractéristiques-clés-de-totalrecall">Caractéristiques Clés de TotalRecall&lt;/h3>
&lt;ul>
&lt;li>&lt;strong>Filtrage par Date&lt;/strong> : Limitez l&amp;rsquo;extraction à une période spécifique.&lt;/li>
&lt;li>&lt;strong>Recherche de Texte&lt;/strong> : Trouvez des informations spécifiques dans les données capturées.&lt;/li>
&lt;li>&lt;strong>Rapports Détaillés&lt;/strong> : Génère des rapports résumant les fenêtres capturées, les images prises, et les résultats de recherche.&lt;/li>
&lt;/ul>
&lt;h2 id="comment-désactiver-recall">Comment Désactiver Recall&lt;/h2>
&lt;p>Pour ceux qui souhaitent désactiver cette fonctionnalité pour protéger leur vie privée, voici un script que vous pouvez utiliser. Ce script, proposé par &lt;a href="http://privacy.sexy/" target="_blank" rel="noopener">privacy.sexy&lt;/a>, permet de désactiver Recall en modifiant le registre Windows.&lt;/p>
&lt;p>
&lt;figure >
&lt;div class="flex justify-center ">
&lt;div class="w-100" >&lt;img src="./featured.png" alt="privacy.sexy - disable Recall" loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;/figure>
&lt;/p>
&lt;h3 id="script-pour-désactiver-recall">Script pour Désactiver Recall&lt;/h3>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-batch" data-lang="batch">&lt;span class="line">&lt;span class="cl">&lt;span class="p">@&lt;/span>&lt;span class="k">echo&lt;/span> off
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">:&lt;/span>&lt;span class="c1">: https://privacy.sexy — v0.13.4 — Thu, 06 Jun 2024 07:48:34 GMT&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">:&lt;/span>&lt;span class="c1">: Ensure admin privileges&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">fltmc &lt;span class="p">&amp;gt;&lt;/span>nul &lt;span class="mi">2&lt;/span>&lt;span class="p">&amp;gt;&amp;amp;&lt;/span>&lt;span class="mi">1&lt;/span> &lt;span class="p">||&lt;/span> &lt;span class="p">(&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="k">echo&lt;/span> Administrator privileges are required.
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> PowerShell Start -Verb RunAs &amp;#39;&lt;span class="nv">%0&lt;/span>&amp;#39; &lt;span class="mi">2&lt;/span>&lt;span class="p">&amp;gt;&lt;/span> nul &lt;span class="p">||&lt;/span> &lt;span class="p">(&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="k">echo&lt;/span> Right-click on the script and select &lt;span class="s2">&amp;#34;Run as administrator&amp;#34;&lt;/span>.
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="k">pause&lt;/span> &lt;span class="p">&amp;amp;&lt;/span> &lt;span class="k">exit&lt;/span> 1
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="p">)&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="k">exit&lt;/span> 0
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">)&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">:&lt;/span>&lt;span class="c1">: Initialize environment&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="k">setlocal&lt;/span> EnableExtensions DisableDelayedExpansion
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">:&lt;/span>&lt;span class="c1">: ----------------------------------------------------------&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">:&lt;/span>&lt;span class="c1">: ----------------------Disable Recall----------------------&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">:&lt;/span>&lt;span class="c1">: ----------------------------------------------------------&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="k">echo&lt;/span> --- Disable Recall
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">PowerShell -ExecutionPolicy Unrestricted -Command &lt;span class="s2">&amp;#34;reg add &amp;#39;HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsCopilot&amp;#39; /v &amp;#39;DisableAIDataAnalysis&amp;#39; /t &amp;#39;REG_DWORD&amp;#39; /d &amp;#39;1&amp;#39; /f&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">:&lt;/span>&lt;span class="c1">: ----------------------------------------------------------&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">:&lt;/span>&lt;span class="c1">: Pause the script to view the final state&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="k">pause&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">:&lt;/span>&lt;span class="c1">: Restore previous environment settings&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="k">endlocal&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">:&lt;/span>&lt;span class="c1">: Exit the script successfully&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="k">exit&lt;/span> /b 0
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h3 id="étapes-pour-exécuter-le-script">Étapes pour Exécuter le Script&lt;/h3>
&lt;ol>
&lt;li>&lt;strong>Créer un Fichier de Script&lt;/strong> :&lt;/li>
&lt;/ol>
&lt;ul>
&lt;li>Ouvrez un éditeur de texte comme le Bloc-notes.&lt;/li>
&lt;li>Copiez le script ci-dessus et collez-le dans l&amp;rsquo;éditeur de texte.&lt;/li>
&lt;li>Enregistrez le fichier avec une extension .bat, par exemple disable_recall.bat.&lt;/li>
&lt;/ul>
&lt;ol start="2">
&lt;li>&lt;strong>Exécuter le Script en tant qu&amp;rsquo;Administrateur&lt;/strong> :&lt;/li>
&lt;/ol>
&lt;ul>
&lt;li>Faites un clic droit sur le fichier de script que vous avez créé.&lt;/li>
&lt;li>Sélectionnez &amp;ldquo;Exécuter en tant qu’administrateur&amp;rdquo;.&lt;/li>
&lt;/ul>
&lt;ol start="3">
&lt;li>&lt;strong>Vérifier l&amp;rsquo;Exécution&lt;/strong> :&lt;/li>
&lt;/ol>
&lt;ul>
&lt;li>Le script va vérifier si vous avez les privilèges d&amp;rsquo;administrateur. Si ce n&amp;rsquo;est pas le cas, il vous demandera de le relancer avec ces droits.&lt;/li>
&lt;li>Une fois exécuté, il ajoutera une entrée dans le registre pour désactiver l&amp;rsquo;analyse des données par l&amp;rsquo;IA de Microsoft Copilot.&lt;/li>
&lt;/ul>
&lt;h2 id="conclusion">Conclusion&lt;/h2>
&lt;p>La fonctionnalité Recall de Microsoft Copilot+ soulève des questions importantes sur la sécurité et la confidentialité des utilisateurs. Désactiver cette fonctionnalité peut être crucial pour protéger vos données personnelles. En suivant les étapes décrites ci-dessus, vous pouvez désactiver Recall et reprendre le contrôle de votre vie privée.&lt;/p>
&lt;p>Enjoy 😎&lt;/p>
&lt;p>AlexIn Tech&lt;/p>
&lt;/div></description></item><item><title>Générer des photos de soi en utilisant Stable Diffusion et Dreambooth</title><link>https://alexin.tech/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/</link><pubDate>Sat, 10 Dec 2022 00:00:00 +0000</pubDate><guid>https://alexin.tech/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/</guid><description>&lt;div class="article-story">
&lt;h1 id="générer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth">Générer des photos de soi en utilisant Stable Diffusion et Dreambooth&lt;/h1>
&lt;p>Hello ! Alors il y a maintenant un mois je me suis amusé à entrainer un modèle custom sur des images de moi-même afin de pouvoir générer des photos de moi.&lt;/p>
&lt;p>Je commence par te présenter rapidement la tech puis le résultat et pour finir je te donne les liens et la marche à suivre pour faire de même.&lt;/p>
&lt;h2 id="la-tech">La tech&lt;/h2>
&lt;p>Au niveau tech j&amp;rsquo;ai utilisé &amp;ldquo;Stable Diffusion&amp;rdquo; et &amp;ldquo;Dreambooth&amp;rdquo;. Stable Diffusion est une &amp;ldquo;IA&amp;rdquo; créée par &lt;a href="http://stability.ai/" target="_blank" rel="noopener">stability.ai&lt;/a> , voici un lien sur la release de ce modèle : &lt;a href="https://stability.ai/blog/stable-diffusion-public-release" target="_blank" rel="noopener">https://stability.ai/blog/stable-diffusion-public-release&lt;/a>&lt;/p>
&lt;p>Dreambooth est un modèle OpenSource créé par une équipe de chez Google Research. Ce modèle est capable d&amp;rsquo;apprendre à reproduire un sujet en générant de nouvelles images de ce sujet.&lt;/p>
&lt;p>&lt;a href="https://dreambooth.github.io/" target="_blank" rel="noopener">https://dreambooth.github.io/&lt;/a>&lt;/p>
&lt;h2 id="les-résultats-">Les résultats :&lt;/h2>
&lt;p>
&lt;figure >
&lt;div class="flex justify-center ">
&lt;div class="w-100" >&lt;img alt="stablediffusion-dreambooth" srcset="
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image_hu_66406530c87ab960.webp 400w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image_hu_155ac13ac2652ece.webp 760w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image_hu_856b7bd4e1ae6624.webp 1200w"
src="https://alexin.tech/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image_hu_66406530c87ab960.webp"
width="507"
height="760"
loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;/figure>
&lt;figure >
&lt;div class="flex justify-center ">
&lt;div class="w-100" >&lt;img alt="stablediffusion-dreambooth" srcset="
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-1_hu_c21c9779debb09b3.webp 400w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-1_hu_4b031bb60db11a5d.webp 760w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-1_hu_ae27327c7868fb79.webp 1200w"
src="https://alexin.tech/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-1_hu_c21c9779debb09b3.webp"
width="760"
height="760"
loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;/figure>
&lt;figure >
&lt;div class="flex justify-center ">
&lt;div class="w-100" >&lt;img alt="stablediffusion-dreambooth" srcset="
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-2_hu_cea64bba03975fae.webp 400w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-2_hu_84ad03b5aef1d6f6.webp 760w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-2_hu_391aec6f0fef30e2.webp 1200w"
src="https://alexin.tech/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-2_hu_cea64bba03975fae.webp"
width="507"
height="760"
loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;/figure>
&lt;figure >
&lt;div class="flex justify-center ">
&lt;div class="w-100" >&lt;img alt="stablediffusion-dreambooth" srcset="
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-3_hu_3aa7cc751a1e832b.webp 400w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-3_hu_d0e1fa970a752fb3.webp 760w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-3_hu_ad3dce72bd28f39e.webp 1200w"
src="https://alexin.tech/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-3_hu_3aa7cc751a1e832b.webp"
width="507"
height="760"
loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;/figure>
&lt;figure >
&lt;div class="flex justify-center ">
&lt;div class="w-100" >&lt;img alt="stablediffusion-dreambooth" srcset="
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-4_hu_606c768a2072628f.webp 400w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-4_hu_5e9b488b3363ded5.webp 760w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-4_hu_aff6376206057b1e.webp 1200w"
src="https://alexin.tech/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-4_hu_606c768a2072628f.webp"
width="512"
height="512"
loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;/figure>
&lt;figure >
&lt;div class="flex justify-center ">
&lt;div class="w-100" >&lt;img alt="stablediffusion-dreambooth" srcset="
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-5_hu_37f8492fdc8a0e3b.webp 400w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-5_hu_ce77bbf0e4a858f9.webp 760w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-5_hu_a4fcb535079ab4f7.webp 1200w"
src="https://alexin.tech/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-5_hu_37f8492fdc8a0e3b.webp"
width="507"
height="760"
loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;/figure>
&lt;figure >
&lt;div class="flex justify-center ">
&lt;div class="w-100" >&lt;img alt="stablediffusion-dreambooth" srcset="
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-6_hu_3d09e29318822535.webp 400w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-6_hu_f1492d5698c10d06.webp 760w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-6_hu_37c114d07ace3117.webp 1200w"
src="https://alexin.tech/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-6_hu_3d09e29318822535.webp"
width="507"
height="760"
loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;/figure>
&lt;figure >
&lt;div class="flex justify-center ">
&lt;div class="w-100" >&lt;img alt="stablediffusion-dreambooth" srcset="
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-7_hu_414d35229261500d.webp 400w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-7_hu_675c9ad6164ffe68.webp 760w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-7_hu_402325f38af4a0f.webp 1200w"
src="https://alexin.tech/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-7_hu_414d35229261500d.webp"
width="512"
height="512"
loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;/figure>
&lt;figure >
&lt;div class="flex justify-center ">
&lt;div class="w-100" >&lt;img alt="stablediffusion-dreambooth" srcset="
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-8_hu_e4b3e9575887dda2.webp 400w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-8_hu_6312722ee567a184.webp 760w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-8_hu_d9d4a68b08d1c6d1.webp 1200w"
src="https://alexin.tech/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-8_hu_e4b3e9575887dda2.webp"
width="512"
height="512"
loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;/figure>
&lt;/p>
&lt;h2 id="et-maintenant-le-how-to-en-très-bref">Et maintenant, le HOW TO, en très bref&lt;/h2>
&lt;p>En premier lieu, crées-toi un compte sur &amp;ldquo;&lt;a href="https://huggingface.co/" target="_blank" rel="noopener">HuggingFace 🤗&lt;/a>&amp;rdquo; et génères un &amp;ldquo;access token&amp;rdquo; que tu utiliseras plus tard.&lt;/p>
&lt;p>Afin d&amp;rsquo;entraîner le modèle sur des photos de toi tu dois commencer par les préparer :&lt;/p>
&lt;ul>
&lt;li>
&lt;p>Sélectionnes environ 20 photos de toi toutes différentes dans des situations différentes avec des cadrages différents.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Tu resizes toutes ces ces photos en 512x512px et tu les recadres. Tu peux utiliser le logiciel en ligne &lt;a href="http://birme.net/" target="_blank" rel="noopener">birme.net&lt;/a> .&lt;/p>
&lt;/li>
&lt;/ul>
&lt;p>Maintenant que ton jeu d&amp;rsquo;images est prêt tu peux aller sur ce google clab afin d&amp;rsquo;entrainer un modèle custom :&lt;/p>
&lt;p>&lt;a href="https://colab.research.google.com/github/ShivamShrirao/diffusers/blob/main/examples/dreambooth/DreamBooth_Stable_Diffusion.ipynb" target="_blank" rel="noopener">https://colab.research.google.com/github/ShivamShrirao/diffusers/blob/main/examples/dreambooth/DreamBooth_Stable_Diffusion.ipynb&lt;/a>&lt;/p>
&lt;p>Tu runs le code petit à petit en suivant les steps by step :&lt;/p>
&lt;p>
&lt;figure >
&lt;div class="flex justify-center ">
&lt;div class="w-100" >&lt;img alt="Google-Collab" srcset="
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-9_hu_1e9ed8d5566bf97f.webp 400w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-9_hu_cbbe16f447b35d3a.webp 760w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-9_hu_27436c6d4d7303bb.webp 1200w"
src="https://alexin.tech/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-9_hu_1e9ed8d5566bf97f.webp"
width="760"
height="525"
loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;/figure>
&lt;/p>
&lt;p>Comme tu peux le voir dans le screen ci-dessus on arrive au fameux step &amp;ldquo;HuggingFace 🤗&amp;rdquo;, donc là tu vas lui accepter les licenses/agreements, lui donner ton access token puis cliquer sur le bouton &amp;ldquo;play&amp;rdquo; pour run ce bloque de code.&lt;/p>
&lt;p>Tu continues le step by step , dans mon cas j&amp;rsquo;ai décidé de sauvegarder le modèle dans mon gDrive.&lt;/p>
&lt;p>
&lt;figure >
&lt;div class="flex justify-center ">
&lt;div class="w-100" >&lt;img alt="Google-Collab" srcset="
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-10_hu_ad73fd859154a2e5.webp 400w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-10_hu_78a3075c22db13d4.webp 760w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-10_hu_8f0cf8fb61a98332.webp 1200w"
src="https://alexin.tech/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-10_hu_ad73fd859154a2e5.webp"
width="760"
height="340"
loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;/figure>
&lt;/p>
&lt;p>Et ensuite au step du &amp;ldquo;Start Training&amp;rdquo; j&amp;rsquo;ai modifié un petit peu le code afin qu&amp;rsquo;il comprenne le prompt &amp;ldquo;Alexis&amp;rdquo;. je ne sais plus exactement ce que j&amp;rsquo;avais mis mais qqch du genre :&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-mysql" data-lang="mysql">&lt;span class="line">&lt;span class="cl">&lt;span class="c1"># You can also add multiple concepts here. Try tweaking `--max_train_steps` accordingly.
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="c1">&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="n">concepts_list&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="p">[&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="err">{&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;instance_prompt&amp;#34;&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;Alexis&amp;#34;&lt;/span>&lt;span class="p">,&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;class_prompt&amp;#34;&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;photo of a person&amp;#34;&lt;/span>&lt;span class="p">,&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;instance_data_dir&amp;#34;&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;/content/data/ukj&amp;#34;&lt;/span>&lt;span class="p">,&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;class_data_dir&amp;#34;&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;/content/data/person&amp;#34;&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="err">}&lt;/span>&lt;span class="p">,&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="c1"># Additional concepts can be added here
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="c1">&lt;/span>&lt;span class="p">]&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="c1"># `class_data_dir` contains regularization images
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="c1">&lt;/span>&lt;span class="n">import&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="n">json&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="n">import&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="n">os&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="k">for&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="n">c&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="k">in&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="n">concepts_list&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="n">os&lt;/span>&lt;span class="p">.&lt;/span>&lt;span class="nf">makedirs&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="n">c&lt;/span>&lt;span class="p">[&lt;/span>&lt;span class="s2">&amp;#34;instance_data_dir&amp;#34;&lt;/span>&lt;span class="p">],&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="n">exist_ok&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="no">True&lt;/span>&lt;span class="p">)&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="k">with&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nf">open&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="s2">&amp;#34;concepts_list.json&amp;#34;&lt;/span>&lt;span class="p">,&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;w&amp;#34;&lt;/span>&lt;span class="p">)&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="k">as&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="n">f&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="n">json&lt;/span>&lt;span class="p">.&lt;/span>&lt;span class="nf">dump&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="n">concepts_list&lt;/span>&lt;span class="p">,&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="n">f&lt;/span>&lt;span class="p">,&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="n">indent&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="mi">4&lt;/span>&lt;span class="p">)&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Puis dans le bloc suivant j&amp;rsquo;ai édité les valeurs suivantes :
&lt;figure >
&lt;div class="flex justify-center ">
&lt;div class="w-100" >&lt;img alt="Google-Collab" srcset="
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-11_hu_fc082d843bb7537a.webp 400w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-11_hu_ca075cb0a41aba38.webp 760w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-11_hu_fe216d755452975f.webp 1200w"
src="https://alexin.tech/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-11_hu_fc082d843bb7537a.webp"
width="760"
height="335"
loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;/figure>
Je ne sais plus exactement ce que j&amp;rsquo;avais mis comme train_steps mais il me semble que &lt;strong>c&amp;rsquo;était entre 2000 et 8000&lt;/strong>. Avec 800 les résultats n&amp;rsquo;étaient pas assez qualy.&lt;/p>
&lt;p>Bref on run les blocs dans l&amp;rsquo;ordre jusqu&amp;rsquo;au step &amp;ldquo;Convert weights to ckpt to use in web UIs like AUTOMATIC1111&amp;rdquo; .&lt;/p>
&lt;p>Ce step est super utile et je vous conseille de le faire car AUTOMATIC1111 c&amp;rsquo;est vraiment une interface web GENIAL !
&lt;figure >
&lt;div class="flex justify-center ">
&lt;div class="w-100" >&lt;img alt="Goggle-Collab" srcset="
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-12_hu_31c1f436716dd12a.webp 400w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-12_hu_f411bffbdd3a3f12.webp 760w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-12_hu_99980c28e795943d.webp 1200w"
src="https://alexin.tech/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-12_hu_31c1f436716dd12a.webp"
width="720"
height="240"
loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;/figure>
Tu peux tester ta génération ici :
&lt;figure >
&lt;div class="flex justify-center ">
&lt;div class="w-100" >&lt;img alt="Google-Collab" srcset="
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-13_hu_c467e222165f16a2.webp 400w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-13_hu_10eef6ec72a17786.webp 760w,
/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-13_hu_baa7bebed1ad0c16.webp 1200w"
src="https://alexin.tech/fr/2022/12/10/generer-des-photos-de-soi-en-utilisant-stable-diffusion-et-dreambooth/image-13_hu_c467e222165f16a2.webp"
width="725"
height="760"
loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;/figure>
&lt;/p>
&lt;p>Si tu es satisfait alors tu peux aller copier le repo de la web UI de AUTOMATIC1111 ici :&lt;/p>
&lt;p>&lt;a href="https://github.com/AUTOMATIC1111/stable-diffusion-webui" target="_blank" rel="noopener">https://github.com/AUTOMATIC1111/stable-diffusion-webui&lt;/a>&lt;/p>
&lt;p>Dans son readme AUTOMATIC1111 explique comment installer l&amp;rsquo;UI, tu peux suivre son step by step, je te le copie ici :&lt;/p>
&lt;h3 id="automatic-installation-on-windows">Automatic Installation on Windows&lt;/h3>
&lt;ul>
&lt;li>Install &lt;a href="https://www.python.org/downloads/windows/" target="_blank" rel="noopener">Python 3.10.6&lt;/a>, checking &amp;ldquo;Add Python to PATH&amp;rdquo;&lt;/li>
&lt;li>Install &lt;a href="https://git-scm.com/download/win" target="_blank" rel="noopener">git&lt;/a>.&lt;/li>
&lt;li>Download the stable-diffusion-webui repository, for example by running&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-fallback" data-lang="fallback">&lt;span class="line">&lt;span class="cl">git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Place model.ckpt in the models directory (see &lt;a href="https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Dependencies" target="_blank" rel="noopener">dependencies &lt;/a>for where to get it).&lt;/li>
&lt;li>&lt;em>(Optional)&lt;/em> Place GFPGANv1.4.pth in the base directory, alongside webui.py (see &lt;a href="https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Dependencies" target="_blank" rel="noopener">dependencies &lt;/a>for where to get it).&lt;/li>
&lt;li>Run webui-user.bat from Windows Explorer as normal, non-administrator, user.&lt;/li>
&lt;/ul>
&lt;p>Dans notre cas le model.ckpt c&amp;rsquo;est celui qu&amp;rsquo;on a généré au préalable via le Google Colab, c&amp;rsquo;est notre modèle entrainé sur notre visage. J&amp;rsquo;ai également effectué le step optionnel avec GFPGANv1.4.pth.&lt;/p>
&lt;p>Une fois tout cela fait, tu run le fichier &amp;ldquo;webui-user.bat&amp;rdquo; et ton projet tourne en local, tu peux maintenant générer des images de toi en utilisant cette interface web. FELICITATIONS 🤩&lt;/p>
&lt;p>Enjoy ! 😎&lt;/p>
&lt;p>&lt;em>Voici tous les liens / sources que j&amp;rsquo;ai utilisés :&lt;/em>&lt;/p>
&lt;p>Stable Diffusion :&lt;/p>
&lt;p>&lt;a href="https://stability.ai/blog/stable-diffusion-public-release" target="_blank" rel="noopener">https://stability.ai/blog/stable-diffusion-public-release&lt;/a>&lt;/p>
&lt;p>&lt;a href="https://github.com/CompVis/stable-diffusion" target="_blank" rel="noopener">https://github.com/CompVis/stable-diffusion&lt;/a>&lt;/p>
&lt;p>Dreambooth :&lt;/p>
&lt;p>&lt;a href="https://dreambooth.github.io/" target="_blank" rel="noopener">https://dreambooth.github.io/&lt;/a>&lt;/p>
&lt;p>Stable Diffusion Web UI :&lt;/p>
&lt;p>&lt;a href="http://github.com/AUTOMATIC1111/stable-diffusion-webui" target="_blank" rel="noopener">http://github.com/AUTOMATIC1111/stable-diffusion-webui&lt;/a>&lt;/p>
&lt;p>Un google colab pour entraîner facilement le modèle :&lt;/p>
&lt;p>&lt;a href="https://colab.research.google.com/github/ShivamShrirao/diffusers/blob/main/examples/dreambooth/DreamBooth_Stable_Diffusion.ipynb" target="_blank" rel="noopener">https://colab.research.google.com/github/ShivamShrirao/diffusers/blob/main/examples/dreambooth/DreamBooth_Stable_Diffusion.ipynb&lt;/a>&lt;/p>
&lt;p>&lt;a href="https://github.com/ShivamShrirao/diffusers/tree/main/examples/dreambooth" target="_blank" rel="noopener">https://github.com/ShivamShrirao/diffusers/tree/main/examples/dreambooth&lt;/a>&lt;/p>
&lt;/div></description></item><item><title>Qu'est-ce que ChatGPT de OpenAI ?</title><link>https://alexin.tech/fr/2022/12/10/quest-ce-que-chatgpt-de-openai/</link><pubDate>Sat, 10 Dec 2022 00:00:00 +0000</pubDate><guid>https://alexin.tech/fr/2022/12/10/quest-ce-que-chatgpt-de-openai/</guid><description>&lt;div class="article-story">
&lt;h1 id="quest-ce-que-chatgpt-de-openai-">Qu&amp;rsquo;est-ce que ChatGPT de OpenAI ?&lt;/h1>
&lt;p>Eh bien je me suis connecté à mon compte OpenAI et j&amp;rsquo;ai directement posé la question à ChatGPT. Bien entendu je lui ai demandé cela en anglais puis je lui ai demandé de traduire sa propre réponse en français, la voici :&lt;/p>
&lt;p>&amp;ldquo;Je suis Assistant, un grand modèle de langage entraîné par OpenAI. Je suis conçu pour aider les gens avec une grande variété de tâches, de répondre à des questions à fournir des informations et des conseils. Je suis constamment en train d&amp;rsquo;apprendre et de m&amp;rsquo;améliorer, et je suis toujours là pour aider.&amp;rdquo;&lt;/p>
&lt;p>&lt;em>&amp;ldquo;Une des choses qui me distingue des autres modèles de langage est ma capacité à comprendre et générer du texte similaire à celui des humains. Je suis formé sur un énorme jeu de données de texte, et j&amp;rsquo;utilise ces connaissances pour générer des réponses naturelles aux questions et demandes que je reçois. Je peux également comprendre le contexte et la signification des mots que je vois, ce qui me permet de fournir des réponses plus précises et pertinentes.&amp;rdquo;&lt;/em>&lt;/p>
&lt;p>&lt;em>&amp;ldquo;En plus de mes capacités linguistiques, je suis également conçu pour être efficace et rapide. Je peux traiter rapidement une grande quantité de texte, et je suis capable de fournir des réponses en temps réel. Cela signifie que je peux vous aider à obtenir les informations dont vous avez besoin, lorsque vous en avez besoin.&amp;rdquo;&lt;/em>&lt;/p>
&lt;p>&lt;em>&amp;ldquo;En tant que grand modèle de langage, je suis également capable de gérer une large gamme de tâches et de sujets. Je suis bien informé sur de nombreux sujets différents, et je peux fournir des informations et des conseils sur une large gamme de sujets. Que vous ayez une question sur l&amp;rsquo;histoire, la science ou tout autre sujet, je suis là pour vous aider.&amp;rdquo;&lt;/em>&lt;/p>
&lt;p>&lt;em>&amp;ldquo;En résumé, je suis un outil polyvalent et puissant qui peut vous aider avec une grande variété de tâches. Que vous ayez besoin d&amp;rsquo;aide pour une question spécifique, ou que vous souhaitiez simplement en savoir plus sur un sujet particulier, je suis là pour vous aider. Je suis toujours en train d&amp;rsquo;apprendre et de m&amp;rsquo;améliorer, et je suis toujours là pour vous aider.&amp;rdquo;&lt;/em>&lt;/p>
&lt;p>Alors, vous en pensez quoi ? En tous cas j&amp;rsquo;ai fait quelques tests en lui demandant, par exemple, de rédiger une revue de littérature et c&amp;rsquo;est vraiment bluffant ! Juste dommage que chatGPT soit limité à environ 500 mots.&lt;/p>
&lt;p>&lt;em>p.s. L&amp;rsquo;image de couverture a été générée avec Dall-E de OpenAI.&lt;/em>&lt;/p>
&lt;/div></description></item></channel></rss>