{"id":4840,"date":"2022-09-20T11:59:15","date_gmt":"2022-09-20T02:59:15","guid":{"rendered":"http:\/\/www.sougetu.net\/?p=4840"},"modified":"2022-09-20T11:59:22","modified_gmt":"2022-09-20T02:59:22","slug":"stable-diffusion%e3%81%aeautomatic1111%e7%89%88%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%9f%e3%81%a8%e3%81%8d%e3%81%ae%e3%83%a1%e3%83%a2","status":"publish","type":"post","link":"https:\/\/www.sougetu.net\/?p=4840","title":{"rendered":"Stable Diffusion\u306eAutomatic1111\u7248\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3068\u304d\u306e\u30e1\u30e2"},"content":{"rendered":"\n<p>\u4eca\u56de\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u969b\u306b\u306f\u3001\u69d8\u3005\u306a\u30b5\u30a4\u30c8\u3092\u6e21\u308a\u6b69\u3044\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u3057\u3066\u3044\u3063\u305f\u3002\u305d\u306e\u305f\u3081\u3001\u5f8c\u306b\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u969b\u306b\u4f55\u304c\u4f55\u3060\u304b\u5206\u304b\u3089\u306a\u304f\u306a\u308b\u5371\u967a\u6027\u304c\u5927\u306a\u306e\u3067\u3001\u3053\u3053\u306b\u30e1\u30e2\u3092\u6b8b\u3057\u3066\u304a\u304f\u3002<\/p>\n<p>\u74b0\u5883\u306f\u4ee5\u4e0b\u306e\u901a\u308a<\/p>\n<table border=\"2\" cellpadding=\"0\" cellspacing=\"0\" width=\"78.2143%\" style=\"width: 78.2143%;\">\n<tbody>\n<tr height=\"24\">\n<td height=\"24\" width=\"116\" style=\"width: 22.1999%;\">OS<\/td>\n<td width=\"327\" style=\"width: 55.7763%;\">Windows11<\/td>\n<\/tr>\n<tr height=\"24\">\n<td height=\"24\" width=\"116\" style=\"width: 22.1999%;\">CPU<\/td>\n<td width=\"327\" style=\"width: 55.7763%;\">AMD Ryzen 5 5600X<\/td>\n<\/tr>\n<tr height=\"24\">\n<td height=\"24\" width=\"116\" style=\"width: 22.1999%;\">\u30de\u30b6\u30fc\u30dc\u30fc\u30c9<\/td>\n<td width=\"327\" style=\"width: 55.7763%;\">ASUS TUF GAMING B550-PLUS<\/td>\n<\/tr>\n<tr height=\"24\">\n<td height=\"24\" width=\"116\" style=\"width: 22.1999%;\">\u30e1\u30e2\u30ea<\/td>\n<td width=\"327\" style=\"width: 55.7763%;\">CORSAIR DDR4 2*16GB 2666MHz<\/td>\n<\/tr>\n<tr height=\"24\">\n<td height=\"24\" width=\"116\" style=\"width: 22.1999%;\">\u30b0\u30e9\u30dc<\/td>\n<td width=\"327\" style=\"width: 55.7763%;\">\u7384\u4eba\u5fd7\u5411 GG-RTX3060Ti-E8GB<\/td>\n<\/tr>\n<tr height=\"24\">\n<td height=\"24\" width=\"116\" style=\"width: 22.1999%;\">SSD<\/td>\n<td width=\"327\" style=\"width: 55.7763%;\">intel ssdpeknw020t9(Intel SSD 665p 2T)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<p>\u3084\u3084\u3053\u3057\u3044\u4e8b\u3092\u3059\u308b\u7fbd\u76ee\u306b\u306a\u3063\u305f\u306e\u306f\u4ee5\u4e0b\u306e\u9805\u76ee\u306b\u3088\u308b\u3002<br \/>VRAM\u304c8G<br \/>\u6a19\u6e96\u306estable-diffusion\u3067\u306fCUI\u306e\u305f\u3081\u4e0a\u624b\u304ftxt2img\u7b49\u3092\u4e0a\u624b\u304f\u64cd\u308c\u306a\u304b\u3063\u305f<br \/>\u6700\u521dGIGAZINE\u306e\u7d39\u4ecb\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u3057\u3088\u3046\u3068\u3057\u305f\u304canaconda\u5229\u7528\u306e\u70ba\u4e0a\u624b\u304f\u884c\u304b\u306a\u304b\u3063\u305f<\/p>\n\n\n<p>\u3084\u3084\u3053\u3057\u3044\u4e8b\u3092\u3059\u308b\u7fbd\u76ee\u306b\u306a\u3063\u305f\u306e\u306f\u4ee5\u4e0b\u306e\u9805\u76ee\u306b\u3088\u308b\u3002<\/p>\n<ul>\n<li>VRAM\u304c8G<\/li>\n<li>\u6a19\u6e96\u306estable-diffusion\u3067\u306fCUI\u306e\u305f\u3081\u4e0a\u624b\u304ftxt2img\u7b49\u3092\u4e0a\u624b\u304f\u64cd\u308c\u306a\u304b\u3063\u305f<\/li>\n<li>\u6700\u521dGIGAZINE\u306e\u7d39\u4ecb\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u3057\u3088\u3046\u3068\u3057\u305f\u304canaconda\u5229\u7528\u306e\u70ba\u4e0a\u624b\u304f\u884c\u304b\u306a\u304b\u3063\u305f<\/li>\n<\/ul>\n\n\n<p>CUDA\u3068PyTorch\u306f\u3053\u3053\u53c2\u7167<br>https:\/\/zenn.dev\/opamp\/articles\/c5e200c6b75912<\/p>\n\n\n\n<p>git\u306f\u81ea\u5206\u3067\u306f\u3069\u3053\u304b\u304b\u3089\u9069\u5f53\u306b\u5165\u308c\u305f\u3002\u4e00\u5fdc\u53c2\u8003\u3068\u3057\u3066\u306f\u3053\u3053\u3092\u4e0a\u3052\u3066\u304a\u304f<br>https:\/\/b-risk.jp\/blog\/2022\/03\/2022git_install\/<\/p>\n\n\n\n<p>\u305d\u308c\u304c\u3067\u304d\u305f\u3089\u3044\u3088\u3044\u3088WebUI\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<br>\u3053\u306e\u30da\u30fc\u30b8\u306fUbuntu\u3067\u884c\u3063\u3066\u308b\u304c\u3001Windows\u3067\u3082\u3084\u308b\u4e8b\u306f\u4e00\u7dd2<br>https:\/\/mirai-tec.hatenablog.com\/<\/p>\n\n\n\n<p>\u4ee5\u4e0a\u3001\u3053\u308c\u3089\u3092\u53c2\u8003\u306b\u3057\u3066\u624b\u9806\u4f5c\u6210\u3057\u305f<\/p>\n\n\n\n<p><\/p>\n\n\n\n<ul>\n<li><span>Anaconda\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/span><\/li>\n<li><span>git\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/span><\/li>\n<li><span>CUDA\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/span><\/li>\n<\/ul>\n<p>\u300cAUTOMATIC1111\u7248Stable Diffusion web UI\u300d<br \/>Anaconda\u3067\u4eee\u60f3\u74b0\u5883\u69cb\u7bc9<\/p>\n<p>\u300cAUTOMATIC1111\u7248Stable Diffusion web UI\u300d<br \/>Anaconda\u3067\u4eee\u60f3\u74b0\u5883\u69cb\u7bc9<br \/>@conda init<br \/>call conda activate stable-diffusion<br \/>cd c:\\users\\xxxx\\anaconda3\u00a0 (xxxx\u306f\u30e6\u30fc\u30b6\u30fc\u540d)<\/p>\n<p>git clone https:\/\/github.com\/AUTOMATIC1111\/stable-diffusion-webui<br \/>cd c:\\stable-diffusion-webui<br \/>pip install -r requirements.txt<\/p>\n<p>\u300cStable Diffusion\u300d\u306e\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092Hugging Face\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b<br \/>https:\/\/huggingface.co\/CompVis\/stable-diffusion-v-1-4-original<br \/>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305fsd-v1-4.ckpt\u3092model.ckpt\u3068\u30ea\u30cd\u30fc\u30e0\u3057\u3066stable-diffusion-webui\u306b\u79fb\u3059<\/p>\n<p>\u300cGFGAN\u300d\u306e\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b<br \/>https:\/\/github.com\/TencentARC\/GFPGAN\/releases\/download\/v1.3.0\/GFPGANv1.3.pth<br \/>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305fGFPGANv1.3.pth\u3092stable-diffusion-webui\u306b\u7f6e\u304f<\/p>\n<p>\u300ctrinart_stable_diffusion_v2\u300d\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b<br \/>\u300cwaifu-diffusion\u300d\u3068\u540c\u3058\u304f\u4e8c\u6b21\u5143\u306b\u7279\u5316\u3057\u305f\u3001\u3068\u308a\u3093\u3055\u307eAI\u30dc\u30c3\u30c8\u306e\u30e2\u30c7\u30eb\u306e\u6539\u826f\u7248<br \/>\u5b66\u7fd2\u30b9\u30c6\u30c3\u30d7\u6570\u306b\u3088\u3063\u3066\u30e2\u30c7\u30eb\u304c\u9055\u3046<br \/>https:\/\/huggingface.co\/naclbit\/trinart_stable_diffusion_v2<br \/>\u30e2\u30c7\u30eb\u306f\u3053\u306e\u4e09\u3064 trinart2_step60000.ckpt trinart2_step95000.ckpt trinart2_step115000.ckpt<br \/>\u7d39\u4ecb\u30da\u30fc\u30b8 https:\/\/zenn.dev\/johnkf\/articles\/5b0fa5069ea752<\/p>\n<p>\u5b9f\u884c\uff08\u79c1\u306f\u5b9f\u884c\u7528\u306ebatti\u3092\u4f5c\u3063\u3066\u305d\u3061\u3089\u3067launch.py\u3092\u547c\u3073\u51fa\u3057\u3066\u3044\u308b\uff09<br \/>python launch.py<\/p>\n<p>\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7<br \/>\u65b0\u3057\u3044\u7269\u3092github\u304b\u3089\u53d6\u3063\u3066\u304d\u3066\u4e0a\u66f8\u304d\u3002\u305d\u306e\u5f8c\u81ea\u4f5c\u3057\u3066\u3044\u308b\u8d77\u52d5\u7528bat\u30d5\u30a1\u30a4\u30eb\uff08\u5f8c\u8ff0\uff09\u3092\u8d77\u52d5\u3059\u308b\u3060\u3051\u3002<br \/>\u521d\u56de\u3001\u5fc5\u8981\u306a\u7269\u3092DL\u3057\u3066\u304f\u308c\u308b\u3089\u3057\u3044\u3002<br \/>\u4eca\u56de\u306fanaconda\u5229\u7528\u306b\u3064\u304d\u3001\u6a19\u6e96\u3068\u306f\u3061\u3087\u3063\u3068\u9055\u3046\u306e\u3067\u3001<br \/>\u30fbrequirements.txt<br \/>\u30fbwebui-user.bat<br \/>\u30fbwebui.bat<br \/>\u306e\u4e2d\u8eab\u306b\u306f\u6ce8\u610f\u3059\u308b\u4e8b<\/p>\n\n\n<p>bat\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u4f55\u3067\u3082\u826f\u3044\u304c\u5206\u304b\u308a\u3084\u3059\u3044\u3068\u3053\u308d\u306b\u7f6e\u304f\u3002<br \/>\u79c1\u306f\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u306b\u300cStableDiffusion WebUI.bat\u300d\u3068\u8a00\u3046\u540d\u524d\u3067\u7f6e\u3044\u3066\u3044\u308b\u3002<br \/><br \/><\/p>\n\n\n<pre class=\"wp-block-code\"><code>@rem ver1.00 2022\/09\/17\r\n@rem \u5834\u5408\u306b\u3088\u3063\u3066\u30d1\u30b9\u5909\u66f4\r\ncd C:\\stable-diffusion-webui\\\r\n@rem set COMMANDLINE_ARGS=--listen --ckpt \u30e2\u30c7\u30eb\u306e\u30d5\u30a1\u30a4\u30eb\u540d\uff08.ckpt\u30d5\u30a1\u30a4\u30eb\uff09\r\nset COMMANDLINE_ARGS=--listen --ckpt model.ckpt\r\n@rem anaconda \u30a2\u30af\u30c6\u30a3\u30d6\r\ncall conda activate stable-diffusion\r\n@rem set COMMANDLINE_ARGS=--listen --ckpt \u30e2\u30c7\u30eb\u306e\u30d5\u30a1\u30a4\u30eb\u540d\uff08.ckpt\u30d5\u30a1\u30a4\u30eb\uff09\r\n@rem list model.ckpt trinart2_step60000.ckpt trinart2_step95000.ckpt trinart2_step115000.ckpt\r\nset COMMANDLINE_ARGS=--listen --ckpt trinart2_step60000.ckpt\r\nstart http:\/\/127.0.0.1:7860\/\r\n\r\n@echo -------------127.0.0.1:7860\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u30d6\u30e9\u30a6\u30b6\u3092\u66f4\u65b0\u3057\u3066\u304f\u3060\u3055\u3044 -------------\r\n@START EXPLORER \".\\outputs\"\r\n@rem gui run\r\npython \"launch.py\"\r\n@cmd\/k<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"stable-diffusion\u306eAutomatic1111\u7248\u3092\u5b9f\u884c\u3057\u3066\u307f\u305f\" width=\"800\" height=\"450\" src=\"https:\/\/www.youtube.com\/embed\/CXaUb5RDKCA?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u3084\u3084\u3053\u3057\u3044\u4e8b\u3092\u3059\u308b\u7fbd\u76ee\u306b\u306a\u3063\u305f\u306e\u306f\u4ee5\u4e0b\u306e\u9805\u76ee\u306b\u3088\u308b\u3002 VRAM\u304c8G \u6a19\u6e96\u306estable-diffusion\u3067\u306fCUI\u306e\u305f\u3081\u4e0a\u624b\u304ftxt2img\u7b49\u3092\u4e0a\u624b\u304f\u64cd\u308c\u306a\u304b\u3063\u305f \u6700\u521dGIGAZINE\u306e\u7d39\u4ecb\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u3057\u3088\u3046\u3068\u3057\u305f\u304c \u2026 <a class=\"continue-reading-link\" href=\"https:\/\/www.sougetu.net\/?p=4840\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[8],"tags":[],"class_list":["post-4840","post","type-post","status-publish","format-standard","hentry","category-tech-computer-program"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sougetu.net\/index.php?rest_route=\/wp\/v2\/posts\/4840","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sougetu.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sougetu.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sougetu.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sougetu.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4840"}],"version-history":[{"count":1,"href":"https:\/\/www.sougetu.net\/index.php?rest_route=\/wp\/v2\/posts\/4840\/revisions"}],"predecessor-version":[{"id":4841,"href":"https:\/\/www.sougetu.net\/index.php?rest_route=\/wp\/v2\/posts\/4840\/revisions\/4841"}],"wp:attachment":[{"href":"https:\/\/www.sougetu.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4840"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sougetu.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4840"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sougetu.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4840"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}