{"id":1411,"date":"2023-06-24T07:43:05","date_gmt":"2023-06-24T01:43:05","guid":{"rendered":"https:\/\/magiteker.com\/?p=1411"},"modified":"2023-06-24T07:44:37","modified_gmt":"2023-06-24T01:44:37","slug":"dreambooth-kohya-ss-install","status":"publish","type":"post","link":"https:\/\/magiteker.com\/index.php\/2023\/06\/24\/dreambooth-kohya-ss-install\/","title":{"rendered":"Dreambooth Kohya SS Install"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">&#8211; <a href=\"https:\/\/github.com\/bmaltais\/kohya_ss\">Github<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Above is the repository for Kohya SS Dreambooth, to install simply clone the repository to a separate folder using Git then run the install.bat file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note<\/strong>: For better training speed ( iterations per second ) using RTX 40xx GPU&#8217;s it&#8217;s advised to use <a href=\"https:\/\/developer.nvidia.com\/cuda-11-8-0-download-archive\">CUDA 11.8<\/a> so that Xformers can properly access the newest hardware. With CUDA 11.6 the training speed is sub-optimal and will take significantly more time.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8211; Github Above is the repository for Kohya SS Dreambooth, to install simply clone the repository to a separate folder using Git then run the install.bat file. Note: For better training speed ( iterations per second ) using RTX 40xx GPU&#8217;s it&#8217;s advised to use CUDA 11.8 so that Xformers can properly access the newest [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[21,67],"tags":[68,71,69],"class_list":["post-1411","post","type-post","status-publish","format-standard","hentry","category-code","category-stablediffusionai","tag-ai","tag-dreambooth","tag-stable-diffusion"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6MIgq-mL","jetpack-related-posts":[{"id":1382,"url":"https:\/\/magiteker.com\/index.php\/2023\/06\/21\/resource-training-stable-diffusion-with-dreambooth\/","url_meta":{"origin":1411,"position":0},"title":"Resource: Training Stable Diffusion with Dreambooth","author":"Frank O'Hanlon","date":"June 21, 2023","format":false,"excerpt":"-Blog Post This article describes experiments with different Learning Rates in training models using Dreambooth. FTA: Summary of Initial Results To get good results training Stable Diffusion with Dreambooth, it's important to tune the learning rate and training steps for your dataset. High learning rates and too many training steps\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/magiteker.com\/index.php\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1437,"url":"https:\/\/magiteker.com\/index.php\/2023\/07\/08\/tbd-experiment-multiple-classifications\/","url_meta":{"origin":1411,"position":1},"title":"TBD Experiment: Multiple Classifications","author":"Frank O'Hanlon","date":"July 8, 2023","format":false,"excerpt":"Hypothesis: Dreambooth can utilize multiple classifications in regularization to improve model training while maintaining model style and data. Each classification should correspond to a tag that is common throughout the training data.","rel":"","context":"In &quot;Stable Diffusion&quot;","block_context":{"text":"Stable Diffusion","link":"https:\/\/magiteker.com\/index.php\/category\/tutorials\/stablediffusionai\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1386,"url":"https:\/\/magiteker.com\/index.php\/2023\/06\/21\/resource-dreambooth-training-readme\/","url_meta":{"origin":1411,"position":2},"title":"Resource: Dreambooth Training README","author":"Frank O'Hanlon","date":"June 21, 2023","format":false,"excerpt":"- Github README describing proper methods for constructing a dataset.According to the README Regularization images allow for prior preservation of a models existing dataset. Regularization images should be generated before training from the base model. Image classification should be a generic term ( i.e. person, cat, dog, man, woman ).\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/magiteker.com\/index.php\/category\/code\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/magiteker.com\/wp-content\/uploads\/2023\/06\/image-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/magiteker.com\/wp-content\/uploads\/2023\/06\/image-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/magiteker.com\/wp-content\/uploads\/2023\/06\/image-1.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/magiteker.com\/wp-content\/uploads\/2023\/06\/image-1.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":1350,"url":"https:\/\/magiteker.com\/index.php\/2023\/06\/21\/stable-diffusion-experiments\/","url_meta":{"origin":1411,"position":3},"title":"Stable Diffusion Experiments","author":"Frank O'Hanlon","date":"June 21, 2023","format":false,"excerpt":"AI module experiments","rel":"","context":"In &quot;Stable Diffusion&quot;","block_context":{"text":"Stable Diffusion","link":"https:\/\/magiteker.com\/index.php\/category\/tutorials\/stablediffusionai\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1413,"url":"https:\/\/magiteker.com\/index.php\/2023\/06\/26\/experiment-high-accuracy-training\/","url_meta":{"origin":1411,"position":4},"title":"Experiment: High Accuracy Training","author":"Frank O'Hanlon","date":"June 26, 2023","format":false,"excerpt":"Utilizing Kohya_ss GUI I'm experimenting with various settings sourced from different tutorials in the hopes of gathering a basic configuration that can generate accurate renders while using as little time and VRAM as possible during training. Methodology: 1.) To quickly iterate through configurations I'm using a small dataset of 5\u2026","rel":"","context":"In &quot;Stable Diffusion&quot;","block_context":{"text":"Stable Diffusion","link":"https:\/\/magiteker.com\/index.php\/category\/tutorials\/stablediffusionai\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1394,"url":"https:\/\/magiteker.com\/index.php\/2023\/06\/21\/how-to-turn-any-model-into-an-inpainting-model\/","url_meta":{"origin":1411,"position":5},"title":"Note: How to turn any model into an inpainting model","author":"Frank O'Hanlon","date":"June 21, 2023","format":false,"excerpt":"- Reddit Possible merging technique to enable inpainting on various models. May have implications for other types of merges.","rel":"","context":"In &quot;Stable Diffusion&quot;","block_context":{"text":"Stable Diffusion","link":"https:\/\/magiteker.com\/index.php\/category\/tutorials\/stablediffusionai\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/magiteker.com\/wp-content\/uploads\/2023\/06\/image.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/magiteker.com\/wp-content\/uploads\/2023\/06\/image.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/magiteker.com\/wp-content\/uploads\/2023\/06\/image.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/magiteker.com\/wp-content\/uploads\/2023\/06\/image.png?resize=700%2C400&ssl=1 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/magiteker.com\/index.php\/wp-json\/wp\/v2\/posts\/1411","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/magiteker.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/magiteker.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/magiteker.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/magiteker.com\/index.php\/wp-json\/wp\/v2\/comments?post=1411"}],"version-history":[{"count":1,"href":"https:\/\/magiteker.com\/index.php\/wp-json\/wp\/v2\/posts\/1411\/revisions"}],"predecessor-version":[{"id":1412,"href":"https:\/\/magiteker.com\/index.php\/wp-json\/wp\/v2\/posts\/1411\/revisions\/1412"}],"wp:attachment":[{"href":"https:\/\/magiteker.com\/index.php\/wp-json\/wp\/v2\/media?parent=1411"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/magiteker.com\/index.php\/wp-json\/wp\/v2\/categories?post=1411"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/magiteker.com\/index.php\/wp-json\/wp\/v2\/tags?post=1411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}