{"id":730,"date":"2023-04-13T19:51:04","date_gmt":"2023-04-13T19:51:04","guid":{"rendered":"https:\/\/ai-box.eu\/?p=730"},"modified":"2023-05-01T14:12:34","modified_gmt":"2023-05-01T14:12:34","slug":"stable-diffusion-dreambooth-training-finetuning-setup-part-1-2","status":"publish","type":"post","link":"https:\/\/ai-box.eu\/en\/top-story-en\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\/730\/","title":{"rendered":"Stable Diffusion &#8211; Dreambooth Training Finetuning Setup Part 1\/2"},"content":{"rendered":"<p>I wanted to train a stable diffusion network that can generate images of the PFM-1 anti-personnel mine. This mine is of Russian design and injures mostly civilians in many countries of the world. Since the mine itself is difficult to detect, I had the idea of using stable diffusion to generate images that could be used to test a neural network specialized in detecting this mine. Since stable diffusion will certainly not reproduce the exact geometry of the mine, such images could still be used for testing false positive detections.<\/p>\n<p>So I set up Dreambooth under Automatic1111 and trained my first own mesh on this mine type. You can see such an image that I was able to create with Stable Deffusion in the following picture.<\/p>\n<div id=\"attachment_646\" style=\"width: 1034px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/PFM-1_mine_stable_diffusion_generated-1024x1024.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-646\" class=\"wp-image-646 size-large\" src=\"https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/PFM-1_mine_stable_diffusion_generated-1024x1024.png\" alt=\"PFM-1 mine stable diffusion generated\" width=\"1024\" height=\"1024\" srcset=\"https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/PFM-1_mine_stable_diffusion_generated-1024x1024.png 1024w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/PFM-1_mine_stable_diffusion_generated-300x300.png 300w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/PFM-1_mine_stable_diffusion_generated-150x150.png 150w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/PFM-1_mine_stable_diffusion_generated-768x768.png 768w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/PFM-1_mine_stable_diffusion_generated-1080x1080.png 1080w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/PFM-1_mine_stable_diffusion_generated-440x440.png 440w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/PFM-1_mine_stable_diffusion_generated.png 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><p id=\"caption-attachment-646\" class=\"wp-caption-text\">PFM-1 mine stable diffusion generated<\/p><\/div>\n<p>The result looked quite good with the small number of images I had from the Internet. The next section is about setting up Dreambooth under Automatic1111.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/ai-box.eu\/en\/top-story-en\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\/730\/#Dreambooth_installation\" >Dreambooth installation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/ai-box.eu\/en\/top-story-en\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\/730\/#Xformers_extension_missing\" >Xformers extension missing<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/ai-box.eu\/en\/top-story-en\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\/730\/#Summary\" >Summary<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/ai-box.eu\/en\/top-story-en\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\/730\/#Article_overview_%E2%80%93_Stable_Diffusion\" >Article overview &#8211; Stable Diffusion:<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Dreambooth_installation\"><\/span>Dreambooth installation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Basically, the installation of Dreambooth under Automatic1111 is done very quickly. First of all, start Automatic1111 and open the web interface. Then switch to the &#8220;Extensions&#8221; tab at the top right of the menu.<\/p>\n<div id=\"attachment_648\" style=\"width: 1034px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_installation_finished-1024x783.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-648\" class=\"wp-image-648 size-large\" src=\"https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_installation_finished-1024x783.png\" alt=\"Automatic1111 Stable Diffusion - installation finished\" width=\"1024\" height=\"783\" srcset=\"https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_installation_finished-1024x783.png 1024w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_installation_finished-300x229.png 300w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_installation_finished-768x587.png 768w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_installation_finished-1080x825.png 1080w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_installation_finished.png 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><p id=\"caption-attachment-648\" class=\"wp-caption-text\">Automatic1111 Stable Diffusion &#8211; installation finished<\/p><\/div>\n<p>After you have clicked on the tab &#8220;Extensions&#8221; you will see the following menu. Here you click on the tab &#8220;Available&#8221; to get an overview which extensions are available.<\/p>\n<div id=\"attachment_650\" style=\"width: 1034px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_dreambooth_installation_tab_extensions-1024x783.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-650\" class=\"wp-image-650 size-large\" src=\"https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_dreambooth_installation_tab_extensions-1024x783.png\" alt=\"Automatic1111 Stable Diffusion - Dreambooth installation tab extensions\" width=\"1024\" height=\"783\" srcset=\"https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_dreambooth_installation_tab_extensions-1024x783.png 1024w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_dreambooth_installation_tab_extensions-300x229.png 300w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_dreambooth_installation_tab_extensions-768x587.png 768w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_dreambooth_installation_tab_extensions-1080x825.png 1080w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_dreambooth_installation_tab_extensions.png 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><p id=\"caption-attachment-650\" class=\"wp-caption-text\">Automatic1111 Stable Diffusion &#8211; Dreambooth installation tab extensions<\/p><\/div>\n<p>The menu you see now shows a big button with the name &#8220;Load from&#8221;. Press this button to load or refresh the list with all extensions once. After that you should get a list like the following.<\/p>\n<div id=\"attachment_652\" style=\"width: 1034px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/stable_diffusion_installation_Extensions_available-1024x783.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-652\" class=\"wp-image-652 size-large\" src=\"https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/stable_diffusion_installation_Extensions_available-1024x783.png\" alt=\"Automatic1111 Stable Diffusion - Dreambooth installation available extensions\" width=\"1024\" height=\"783\" srcset=\"https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/stable_diffusion_installation_Extensions_available-1024x783.png 1024w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/stable_diffusion_installation_Extensions_available-300x229.png 300w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/stable_diffusion_installation_Extensions_available-768x587.png 768w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/stable_diffusion_installation_Extensions_available-1536x1174.png 1536w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/stable_diffusion_installation_Extensions_available-1080x826.png 1080w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/stable_diffusion_installation_Extensions_available.png 1626w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><p id=\"caption-attachment-652\" class=\"wp-caption-text\">Automatic1111 Stable Diffusion &#8211; Dreambooth installation available extensions<\/p><\/div>\n<p>In this list, simply look for the entry &#8220;Dreambooth&#8221; and click the &#8220;Install&#8221; button to the right to install this extension.<\/p>\n<div id=\"attachment_654\" style=\"width: 1034px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_dreambooth_installation_install_extensions-1024x783.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-654\" class=\"size-large wp-image-654\" src=\"https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_dreambooth_installation_install_extensions-1024x783.png\" alt=\"Automatic1111 Stable Diffusion - Dreambooth installation install extensions\" width=\"1024\" height=\"783\" srcset=\"https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_dreambooth_installation_install_extensions-1024x783.png 1024w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_dreambooth_installation_install_extensions-300x229.png 300w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_dreambooth_installation_install_extensions-768x587.png 768w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_dreambooth_installation_install_extensions-1080x825.png 1080w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_dreambooth_installation_install_extensions.png 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><p id=\"caption-attachment-654\" class=\"wp-caption-text\">Automatic1111 Stable Diffusion &#8211; Dreambooth installation install extensions<\/p><\/div>\n<p>The installation is now fully automatic and you do not have to do anything except wait until it is complete. The progress of the installation is a bit hard to see but it is displayed on the top right of the list.<\/p>\n<div id=\"attachment_656\" style=\"width: 1034px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_dreambooth_installation_install_progress-1024x783.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-656\" class=\"size-large wp-image-656\" src=\"https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_dreambooth_installation_install_progress-1024x783.png\" alt=\"Automatic1111 Stable Diffusion - Dreambooth installation install progress\" width=\"1024\" height=\"783\" srcset=\"https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_dreambooth_installation_install_progress-1024x783.png 1024w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_dreambooth_installation_install_progress-300x229.png 300w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_dreambooth_installation_install_progress-768x587.png 768w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_dreambooth_installation_install_progress-1080x825.png 1080w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/Automatic1111_stable_diffusion_dreambooth_installation_install_progress.png 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><p id=\"caption-attachment-656\" class=\"wp-caption-text\">Automatic1111 Stable Diffusion &#8211; Dreambooth installation install progress<\/p><\/div>\n<p>After the installation is finished, restart Automatic1111. Now you will see a Dreambooth tab on the web interface of Automatic1111. Click on this tab and then the menu should look something like the following screenshot.<\/p>\n<div id=\"attachment_658\" style=\"width: 1034px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/stable_diffusion_installation_Extension_Dreambooth_tab-1024x783.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-658\" class=\"size-large wp-image-658\" src=\"https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/stable_diffusion_installation_Extension_Dreambooth_tab-1024x783.png\" alt=\"Automatic1111 Stable Diffusion - Dreambooth tab\" width=\"1024\" height=\"783\" srcset=\"https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/stable_diffusion_installation_Extension_Dreambooth_tab-1024x783.png 1024w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/stable_diffusion_installation_Extension_Dreambooth_tab-300x229.png 300w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/stable_diffusion_installation_Extension_Dreambooth_tab-768x587.png 768w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/stable_diffusion_installation_Extension_Dreambooth_tab-1536x1174.png 1536w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/stable_diffusion_installation_Extension_Dreambooth_tab-1080x826.png 1080w, https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/stable_diffusion_installation_Extension_Dreambooth_tab.png 1626w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><p id=\"caption-attachment-658\" class=\"wp-caption-text\">Automatic1111 Stable Diffusion &#8211; Dreambooth tab<\/p><\/div>\n<p>This interface is now used to configure the training and, of course, the training itself.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Xformers_extension_missing\"><\/span>Xformers extension missing<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>If you get the message that Xformers is not installed when you start Automatic1111, then hopefully these instructions on the Dreamtbooth page will help you. I followed these instructions and was able to install Xformers without any warning or error message. Now I start Automatic1111 the message does not appear anymore. However, on the web interface at the very end at the bottom the message appears that Xformers is not available. Give me feedback if you could solve the problem then I will add your solution here.<\/p>\n<p style=\"padding-left: 40px;\"><strong>URL:<\/strong> <a href=\"https:\/\/github.com\/AUTOMATIC1111\/stable-diffusion-webui\/wiki\/Xformers#building-xformers-on-linux-from-anonymous-user\" target=\"_blank\" rel=\"noopener\">Building xformers on Linux (from anonymous user)<\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Summary\"><\/span>Summary<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>It is really very impressive how easy everything is to handle. I would not have thought that I could get started so quickly as a user with a neural network that was customized for me. Of course you need the necessary hardware to make the whole thing fun and you don&#8217;t have to wait days for the result. But with an appropriate NVIDIA graphics card from the family of the 30XX or newer the training is really fast. Of course, you have to gain experience how to configure the training, but after a few attempts it worked quite well for me.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/ai-box.eu\/en\/top-story-en\/stable-diffusion-dreambooth-training-finetuning-run-part-2-2\/733\/\"><span style=\"font-size: 36pt;\">Click here for part 2\/2<\/span><\/a><\/p>\n<br>\r\n\t<br>\r\n\t<hr \/>\r\n<br>\r\n<h2>Article overview - Stable Diffusion:<\/h2>\r\n\t<a title=\"Stable Diffusion - AUTOMATIC1111 Ubuntu installation part 1\/2\" href=\"https:\/\/ai-box.eu\/en\/top-story-en\/stable-diffusion-automatic1111-ubuntu-installation-part-1-2\/577\/\">Stable Diffusion - AUTOMATIC1111 Ubuntu installation part 1\/2<\/a><br>\r\n\t<a title=\"Stable Diffusion - AUTOMATIC1111 Ubuntu installation part 2\/2\" href=\"https:\/\/ai-box.eu\/en\/stable-diffusion\/stable-diffusion-automatic1111-ubuntu-installation-part-2-2\/727\/\">Stable Diffusion - AUTOMATIC1111 Ubuntu installation part 2\/2<\/a><br>\r\n\t<a title=\"Stable Diffusion - Generate images locally with prompt examples\" href=\"https:\/\/ai-box.eu\/en\/top-story-en\/stable-diffusion-generate-images-locally-with-prompt-examples\/620\/\">Stable Diffusion - Generate images locally with prompt examples<\/a><br>\r\n\t<a title=\"Stable Diffusion - AUTOMATIC1111 Experts configuration\" href=\"https:\/\/ai-box.eu\/en\/stable-diffusion\/stable-diffusion-automatic1111-experts-configuration\/780\/\"Stable Diffusion - AUTOMATIC1111 Experts configuration<\/a><br>\r\n\t<a title=\"Stable Diffusion - Dreambooth Training Finetuning Setup Part 1\/2\" href=\"https:\/\/ai-box.eu\/en\/top-story-en\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\/730\/\">Stable Diffusion - Dreambooth Training Finetuning Setup Part 1\/2<\/a><br>\r\n\t<a title=\"Stable Diffusion - Dreambooth Training Finetuning Run Part 2\/2\" href=\"https:\/\/ai-box.eu\/en\/top-story-en\/stable-diffusion-dreambooth-training-finetuning-run-part-2-2\/733\/\">Stable Diffusion - Dreambooth Training Finetuning Run Part 2\/2<\/a><br>\t\r\n\t<br>\r\n\t<hr \/>\r\n\t\t<br>\r\n<br>\n","protected":false},"excerpt":{"rendered":"<p>I wanted to train a stable diffusion network that can generate images of the PFM-1 anti-personnel mine. This mine is of Russian design and injures mostly civilians in many countries of the world. Since the mine itself is difficult to detect, I had the idea of using stable diffusion to generate images that could be [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":653,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[104,50],"tags":[107,86,87,110,88,89,108,109,101,90,91,49,92],"class_list":["post-730","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-stable-diffusion","category-top-story-en","tag-anleitung-en","tag-automatic1111-en","tag-diffusion-en","tag-dreambooth-en","tag-howto-en-2","tag-installation-en","tag-konfiguration-en","tag-lokal-en","tag-prompt","tag-stable-en","tag-stable-diffusion-web-ui-en","tag-training-en","tag-ubuntu-en","et-has-post-format-content","et_post_format-et-post-format-standard"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Stable Diffusion - Dreambooth Training Finetuning Setup Part 1\/2 - Exploring the Future: Inside the AI Box<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ai-box.eu\/en\/top-story-en\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\/730\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Stable Diffusion - Dreambooth Training Finetuning Setup Part 1\/2 - Exploring the Future: Inside the AI Box\" \/>\n<meta property=\"og:description\" content=\"I wanted to train a stable diffusion network that can generate images of the PFM-1 anti-personnel mine. This mine is of Russian design and injures mostly civilians in many countries of the world. Since the mine itself is difficult to detect, I had the idea of using stable diffusion to generate images that could be [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ai-box.eu\/en\/top-story-en\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\/730\/\" \/>\n<meta property=\"og:site_name\" content=\"Exploring the Future: Inside the AI Box\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-13T19:51:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-01T14:12:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/stable_diffusion_installation_Extensions_available.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1626\" \/>\n\t<meta property=\"og:image:height\" content=\"1243\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Maker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Ingmar_Stapel\" \/>\n<meta name=\"twitter:site\" content=\"@Ingmar_Stapel\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Maker\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/ai-box.eu\\\/en\\\/top-story-en\\\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\\\/730\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ai-box.eu\\\/en\\\/top-story-en\\\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\\\/730\\\/\"},\"author\":{\"name\":\"Maker\",\"@id\":\"https:\\\/\\\/ai-box.eu\\\/en\\\/#\\\/schema\\\/person\\\/cc91d08618b3feeef6926591b465eab1\"},\"headline\":\"Stable Diffusion &#8211; Dreambooth Training Finetuning Setup Part 1\\\/2\",\"datePublished\":\"2023-04-13T19:51:04+00:00\",\"dateModified\":\"2023-05-01T14:12:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ai-box.eu\\\/en\\\/top-story-en\\\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\\\/730\\\/\"},\"wordCount\":682,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/ai-box.eu\\\/en\\\/top-story-en\\\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\\\/730\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/ai-box.eu\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/stable_diffusion_installation_Extensions_available.png\",\"keywords\":[\"Anleitung\",\"AUTOMATIC1111\",\"Diffusion\",\"Dreambooth\",\"HowTo\",\"Installation\",\"Konfiguration\",\"lokal\",\"prompt\",\"Stable\",\"Stable Diffusion web UI\",\"training\",\"Ubuntu\"],\"articleSection\":[\"Stable Diffusion\",\"Top story\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/ai-box.eu\\\/en\\\/top-story-en\\\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\\\/730\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ai-box.eu\\\/en\\\/top-story-en\\\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\\\/730\\\/\",\"url\":\"https:\\\/\\\/ai-box.eu\\\/en\\\/top-story-en\\\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\\\/730\\\/\",\"name\":\"Stable Diffusion - Dreambooth Training Finetuning Setup Part 1\\\/2 - Exploring the Future: Inside the AI Box\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ai-box.eu\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/ai-box.eu\\\/en\\\/top-story-en\\\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\\\/730\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/ai-box.eu\\\/en\\\/top-story-en\\\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\\\/730\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/ai-box.eu\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/stable_diffusion_installation_Extensions_available.png\",\"datePublished\":\"2023-04-13T19:51:04+00:00\",\"dateModified\":\"2023-05-01T14:12:34+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/ai-box.eu\\\/en\\\/#\\\/schema\\\/person\\\/cc91d08618b3feeef6926591b465eab1\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ai-box.eu\\\/en\\\/top-story-en\\\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\\\/730\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/ai-box.eu\\\/en\\\/top-story-en\\\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\\\/730\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/ai-box.eu\\\/en\\\/top-story-en\\\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\\\/730\\\/#primaryimage\",\"url\":\"https:\\\/\\\/ai-box.eu\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/stable_diffusion_installation_Extensions_available.png\",\"contentUrl\":\"https:\\\/\\\/ai-box.eu\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/stable_diffusion_installation_Extensions_available.png\",\"width\":1626,\"height\":1243,\"caption\":\"Automatic1111 Stable Diffusion - Dreambooth installation tab extensions\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ai-box.eu\\\/en\\\/top-story-en\\\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\\\/730\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Start\",\"item\":\"https:\\\/\\\/ai-box.eu\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Stable Diffusion &#8211; Dreambooth Training Finetuning Setup Part 1\\\/2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ai-box.eu\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/ai-box.eu\\\/en\\\/\",\"name\":\"Exploring the Future: Inside the AI Box\",\"description\":\"Inside the AI Box, we share our experiences and discoveries in the world of artificial intelligence.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/ai-box.eu\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/ai-box.eu\\\/en\\\/#\\\/schema\\\/person\\\/cc91d08618b3feeef6926591b465eab1\",\"name\":\"Maker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e96b93fc3c7e50c1f21c5c6b1f146dc4867936141360830b328947b32cacf93a?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e96b93fc3c7e50c1f21c5c6b1f146dc4867936141360830b328947b32cacf93a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e96b93fc3c7e50c1f21c5c6b1f146dc4867936141360830b328947b32cacf93a?s=96&d=mm&r=g\",\"caption\":\"Maker\"},\"description\":\"I live in Bavaria near Munich. In my head I always have many topics and try out especially in the field of Internet new media much in my spare time. I write on the blog because it makes me fun to report about the things that inspire me. I am happy about every comment, about suggestion and very about questions.\",\"sameAs\":[\"https:\\\/\\\/ai-box.eu\"],\"url\":\"https:\\\/\\\/ai-box.eu\\\/en\\\/author\\\/ingmars\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Stable Diffusion - Dreambooth Training Finetuning Setup Part 1\/2 - Exploring the Future: Inside the AI Box","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ai-box.eu\/en\/top-story-en\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\/730\/","og_locale":"en_US","og_type":"article","og_title":"Stable Diffusion - Dreambooth Training Finetuning Setup Part 1\/2 - Exploring the Future: Inside the AI Box","og_description":"I wanted to train a stable diffusion network that can generate images of the PFM-1 anti-personnel mine. This mine is of Russian design and injures mostly civilians in many countries of the world. Since the mine itself is difficult to detect, I had the idea of using stable diffusion to generate images that could be [&hellip;]","og_url":"https:\/\/ai-box.eu\/en\/top-story-en\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\/730\/","og_site_name":"Exploring the Future: Inside the AI Box","article_published_time":"2023-04-13T19:51:04+00:00","article_modified_time":"2023-05-01T14:12:34+00:00","og_image":[{"width":1626,"height":1243,"url":"https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/stable_diffusion_installation_Extensions_available.png","type":"image\/png"}],"author":"Maker","twitter_card":"summary_large_image","twitter_creator":"@Ingmar_Stapel","twitter_site":"@Ingmar_Stapel","twitter_misc":{"Written by":"Maker","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ai-box.eu\/en\/top-story-en\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\/730\/#article","isPartOf":{"@id":"https:\/\/ai-box.eu\/en\/top-story-en\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\/730\/"},"author":{"name":"Maker","@id":"https:\/\/ai-box.eu\/en\/#\/schema\/person\/cc91d08618b3feeef6926591b465eab1"},"headline":"Stable Diffusion &#8211; Dreambooth Training Finetuning Setup Part 1\/2","datePublished":"2023-04-13T19:51:04+00:00","dateModified":"2023-05-01T14:12:34+00:00","mainEntityOfPage":{"@id":"https:\/\/ai-box.eu\/en\/top-story-en\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\/730\/"},"wordCount":682,"commentCount":0,"image":{"@id":"https:\/\/ai-box.eu\/en\/top-story-en\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\/730\/#primaryimage"},"thumbnailUrl":"https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/stable_diffusion_installation_Extensions_available.png","keywords":["Anleitung","AUTOMATIC1111","Diffusion","Dreambooth","HowTo","Installation","Konfiguration","lokal","prompt","Stable","Stable Diffusion web UI","training","Ubuntu"],"articleSection":["Stable Diffusion","Top story"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ai-box.eu\/en\/top-story-en\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\/730\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ai-box.eu\/en\/top-story-en\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\/730\/","url":"https:\/\/ai-box.eu\/en\/top-story-en\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\/730\/","name":"Stable Diffusion - Dreambooth Training Finetuning Setup Part 1\/2 - Exploring the Future: Inside the AI Box","isPartOf":{"@id":"https:\/\/ai-box.eu\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ai-box.eu\/en\/top-story-en\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\/730\/#primaryimage"},"image":{"@id":"https:\/\/ai-box.eu\/en\/top-story-en\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\/730\/#primaryimage"},"thumbnailUrl":"https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/stable_diffusion_installation_Extensions_available.png","datePublished":"2023-04-13T19:51:04+00:00","dateModified":"2023-05-01T14:12:34+00:00","author":{"@id":"https:\/\/ai-box.eu\/en\/#\/schema\/person\/cc91d08618b3feeef6926591b465eab1"},"breadcrumb":{"@id":"https:\/\/ai-box.eu\/en\/top-story-en\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\/730\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ai-box.eu\/en\/top-story-en\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\/730\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ai-box.eu\/en\/top-story-en\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\/730\/#primaryimage","url":"https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/stable_diffusion_installation_Extensions_available.png","contentUrl":"https:\/\/ai-box.eu\/wp-content\/uploads\/2023\/04\/stable_diffusion_installation_Extensions_available.png","width":1626,"height":1243,"caption":"Automatic1111 Stable Diffusion - Dreambooth installation tab extensions"},{"@type":"BreadcrumbList","@id":"https:\/\/ai-box.eu\/en\/top-story-en\/stable-diffusion-dreambooth-training-finetuning-setup-part-1-2\/730\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Start","item":"https:\/\/ai-box.eu\/en\/"},{"@type":"ListItem","position":2,"name":"Stable Diffusion &#8211; Dreambooth Training Finetuning Setup Part 1\/2"}]},{"@type":"WebSite","@id":"https:\/\/ai-box.eu\/en\/#website","url":"https:\/\/ai-box.eu\/en\/","name":"Exploring the Future: Inside the AI Box","description":"Inside the AI Box, we share our experiences and discoveries in the world of artificial intelligence.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ai-box.eu\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/ai-box.eu\/en\/#\/schema\/person\/cc91d08618b3feeef6926591b465eab1","name":"Maker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/e96b93fc3c7e50c1f21c5c6b1f146dc4867936141360830b328947b32cacf93a?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e96b93fc3c7e50c1f21c5c6b1f146dc4867936141360830b328947b32cacf93a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e96b93fc3c7e50c1f21c5c6b1f146dc4867936141360830b328947b32cacf93a?s=96&d=mm&r=g","caption":"Maker"},"description":"I live in Bavaria near Munich. In my head I always have many topics and try out especially in the field of Internet new media much in my spare time. I write on the blog because it makes me fun to report about the things that inspire me. I am happy about every comment, about suggestion and very about questions.","sameAs":["https:\/\/ai-box.eu"],"url":"https:\/\/ai-box.eu\/en\/author\/ingmars\/"}]}},"_links":{"self":[{"href":"https:\/\/ai-box.eu\/en\/wp-json\/wp\/v2\/posts\/730","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ai-box.eu\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ai-box.eu\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ai-box.eu\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ai-box.eu\/en\/wp-json\/wp\/v2\/comments?post=730"}],"version-history":[{"count":5,"href":"https:\/\/ai-box.eu\/en\/wp-json\/wp\/v2\/posts\/730\/revisions"}],"predecessor-version":[{"id":790,"href":"https:\/\/ai-box.eu\/en\/wp-json\/wp\/v2\/posts\/730\/revisions\/790"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ai-box.eu\/en\/wp-json\/wp\/v2\/media\/653"}],"wp:attachment":[{"href":"https:\/\/ai-box.eu\/en\/wp-json\/wp\/v2\/media?parent=730"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ai-box.eu\/en\/wp-json\/wp\/v2\/categories?post=730"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ai-box.eu\/en\/wp-json\/wp\/v2\/tags?post=730"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}