{"id":33298,"date":"2024-10-13T00:16:59","date_gmt":"2024-10-12T16:16:59","guid":{"rendered":"https:\/\/17aitech.com\/?p=33298"},"modified":"2024-10-13T00:16:59","modified_gmt":"2024-10-12T16:16:59","slug":"%e3%80%90%e8%af%be%e7%a8%8b%e6%80%bb%e7%bb%93%e3%80%91day33%ef%bc%9a%e6%96%87%e7%94%9f%e5%9b%bestablediffusion%e6%a8%a1%e5%9e%8b%e5%88%9d%e6%ad%a5%e4%ba%86%e8%a7%a3%e4%bb%a5%e5%8f%8a%e9%83%a8%e7%bd%b2","status":"publish","type":"post","link":"https:\/\/17aitech.com\/?p=33298","title":{"rendered":"\u3010\u8bfe\u7a0b\u603b\u7ed3\u3011day33\uff1a\u6587\u751f\u56feStableDiffusion\u6a21\u578b\u521d\u6b65\u4e86\u89e3\u4ee5\u53ca\u90e8\u7f72\u4f53\u9a8c"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_78 ez-toc-wrap-left-text counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u6587\u7ae0\u76ee\u5f55<\/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:\/\/17aitech.com\/?p=33298\/#%E5%89%8D%E8%A8%80\" >\u524d\u8a00<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/17aitech.com\/?p=33298\/#%E6%96%87%E7%94%9F%E5%9B%BE%E7%AE%80%E4%BB%8B\" >\u6587\u751f\u56fe\u7b80\u4ecb<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/17aitech.com\/?p=33298\/#%E8%B5%84%E6%96%99\" >\u8d44\u6599<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/17aitech.com\/?p=33298\/#%E8%AE%BA%E6%96%87%E9%98%85%E8%AF%BB%E7%90%86%E8%A7%A3\" >\u8bba\u6587\u9605\u8bfb\u7406\u89e3<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/17aitech.com\/?p=33298\/#%E6%A8%A1%E5%9E%8B%E7%BB%93%E6%9E%84\" >\u6a21\u578b\u7ed3\u6784<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/17aitech.com\/?p=33298\/#%E8%AE%BA%E6%96%87%E8%A6%81%E7%82%B9\" >\u8bba\u6587\u8981\u70b9<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/17aitech.com\/?p=33298\/#%E8%AE%BA%E6%96%87%E5%8E%9F%E6%96%87\" >\u8bba\u6587\u539f\u6587<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/17aitech.com\/?p=33298\/#%E8%AE%BA%E6%96%87%E7%BF%BB%E8%AF%91\" >\u8bba\u6587\u7ffb\u8bd1<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/17aitech.com\/?p=33298\/#%E8%AE%BA%E6%96%87%E7%90%86%E8%A7%A3\" >\u8bba\u6587\u7406\u89e3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/17aitech.com\/?p=33298\/#%E5%A4%A7%E8%87%B4%E5%8E%9F%E7%90%86\" >\u5927\u81f4\u539f\u7406<\/a><\/li><\/ul><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/17aitech.com\/?p=33298\/#%E9%83%A8%E7%BD%B2_StableDiffusion_%E6%A8%A1%E5%9E%8B\" >\u90e8\u7f72 StableDiffusion \u6a21\u578b<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/17aitech.com\/?p=33298\/#%E5%87%86%E5%A4%87%E7%8E%AF%E5%A2%83\" >\u51c6\u5907\u73af\u5883<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/17aitech.com\/?p=33298\/#%E4%B8%8B%E8%BD%BD%E6%A8%A1%E5%9E%8B\" >\u4e0b\u8f7d\u6a21\u578b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/17aitech.com\/?p=33298\/#%E5%AE%89%E8%A3%85diffusers\" >\u5b89\u88c5diffusers<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/17aitech.com\/?p=33298\/#%E8%B0%83%E7%94%A8%E6%A8%A1%E5%9E%8B\" >\u8c03\u7528\u6a21\u578b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/17aitech.com\/?p=33298\/#%E6%98%BE%E5%AD%98%E5%8D%A0%E7%94%A8\" >\u663e\u5b58\u5360\u7528<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/17aitech.com\/?p=33298\/#%E5%86%85%E5%AE%B9%E5%B0%8F%E7%BB%93\" >\u5185\u5bb9\u5c0f\u7ed3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/17aitech.com\/?p=33298\/#%E5%8F%82%E8%80%83%E8%B5%84%E6%96%99\" >\u53c2\u8003\u8d44\u6599<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"%E5%89%8D%E8%A8%80\"><\/span>\u524d\u8a00<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u5728<a href=\"https:\/\/17aitech.com\/?p=8105\">\u3010\u8bfe\u7a0b\u603b\u7ed3\u3011Day16\uff1a\u5bf9\u6297\u751f\u6210\u7f51\u7edcGAN<\/a>\u4e2d\uff0c\u6211\u4eec\u66fe\u63a5\u89e6\u4e86\u89e3\u4e86\u5bf9\u6297\u751f\u6210GAN\u7f51\u7edc\uff0c\u672c\u7ae0\u5c06\u5b66\u4e60\u4e86\u89e3\u53e6\u5916\u4e00\u79cd\u6587\u751f\u56fe\u7684\u6a21\u578bDiffusion\u6269\u5c55\u6a21\u578b\uff0c\u5e76\u5c1d\u8bd5\u642d\u5efa\u548c\u8bd5\u7528stable Diffusion\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E6%96%87%E7%94%9F%E5%9B%BE%E7%AE%80%E4%BB%8B\"><\/span>\u6587\u751f\u56fe\u7b80\u4ecb<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u6587\u751f\u56fe\uff08Text-to-Image\uff09\u662f\u4e00\u79cd\u4eba\u5de5\u667a\u80fd\u6280\u672f\uff0c\u53ef\u4ee5\u6839\u636e\u8f93\u5165\u7684\u6587\u672c\u63cf\u8ff0\u751f\u6210\u76f8\u5e94\u7684\u56fe\u50cf\u3002\u5176\u4e2d\u8fd1\u671f\u6bd4\u8f83\u706b\u70ed\u7684\u6a21\u578b\u6709Stable Diffusion\uff0c\u5b83\u57fa\u4e8e\u6269\u6563\u6a21\u578b\uff0c\u5c06\u6587\u672c\u63cf\u8ff0\u8f6c\u5316\u4e3a\u56fe\u50cf\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E8%B5%84%E6%96%99\"><\/span>\u8d44\u6599<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u8bba\u6587\u6807\u9898\uff1a\u300aHigh-Resolution Image Synthesis with Latent Diffusion Models\u300b<br \/>\n\u8bba\u6587\u5730\u5740\uff1a<a href=\"https:\/\/arxiv.org\/pdf\/2112.10752\">https:\/\/arxiv.org\/pdf\/2112.10752<\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E8%AE%BA%E6%96%87%E9%98%85%E8%AF%BB%E7%90%86%E8%A7%A3\"><\/span>\u8bba\u6587\u9605\u8bfb\u7406\u89e3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"%E6%A8%A1%E5%9E%8B%E7%BB%93%E6%9E%84\"><\/span>\u6a21\u578b\u7ed3\u6784<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/10\/LDM\u6a21\u578b\u7ed3\u6784.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/10\/LDM\u6a21\u578b\u7ed3\u6784.png\" alt=\"\" \/><\/a><\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E8%AE%BA%E6%96%87%E8%A6%81%E7%82%B9\"><\/span>\u8bba\u6587\u8981\u70b9<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h4><span class=\"ez-toc-section\" id=\"%E8%AE%BA%E6%96%87%E5%8E%9F%E6%96%87\"><\/span>\u8bba\u6587\u539f\u6587<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<blockquote>\n<p>To lower the computational demands of training diffusion models towards high-resolution image synthesis, we observe that although diffusion models allow to ignore perceptually irrelevant details by undersampling the corresponding loss terms [30], they still require costly function evaluations in pixel space, which causes huge demands in computation time and energy resources.<\/p>\n<p>We propose to circumvent this drawback by introducing an explicit <strong>separation of the compressive from the generative learning phase<\/strong> (see Fig. 2). To achieve this, we utilize <strong>an autoencoding model<\/strong> which learns a space that is perceptually equivalent to the image space, but offers significantly reduced computational complexity.<\/p>\n<p>Such an approach offers several advantages: (i) By leaving the high-dimensional image space, we obtain DMs which are computationally much more efficient because sampling is performed on a low-dimensional space. (ii) We exploit the inductive bias of DMs inherited from their UNet architecture [71], which makes them particularly effective for data with spatial structure and therefore alleviates the need for aggressive, quality-reducing compression levels as required by previous approaches [23, 66]. (iii) Finally, we obtain general-purpose compression models whose latent space can be used to train multiple generative models and which can also be utilized for other downstream applications such as single-image CLIP-guided synthesis [25].<\/p>\n<\/blockquote>\n<h4><span class=\"ez-toc-section\" id=\"%E8%AE%BA%E6%96%87%E7%BF%BB%E8%AF%91\"><\/span>\u8bba\u6587\u7ffb\u8bd1<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<blockquote>\n<p>\u4e3a\u4e86\u964d\u4f4e\u9ad8\u5206\u8fa8\u7387\u56fe\u50cf\u5408\u6210\u5bf9\u6269\u6563\u6a21\u578b\u8bad\u7ec3\u7684\u8ba1\u7b97\u8981\u6c42\uff0c\u6211\u4eec\u6ce8\u610f\u5230\uff0c\u867d\u7136\u6269\u6563\u6a21\u578b\u53ef\u4ee5\u901a\u8fc7\u5bf9\u76f8\u5173\u635f\u5931\u9879\u8fdb\u884c\u4f4e\u91c7\u6837\u6765\u5ffd\u7565\u611f\u77e5\u4e0a\u4e0d\u76f8\u5173\u7684\u7ec6\u8282[30]\uff0c\u4f46\u5b83\u4eec\u4ecd\u7136\u9700\u8981\u5728\u50cf\u7d20\u7a7a\u95f4\u8fdb\u884c\u4ee3\u4ef7\u9ad8\u6602\u7684\u51fd\u6570\u8bc4\u4f30\uff0c\u8fd9\u5bf9\u8ba1\u7b97\u65f6\u95f4\u548c\u80fd\u6e90\u8d44\u6e90\u9020\u6210\u4e86\u5de8\u5927\u7684\u9700\u6c42\u3002<\/p>\n<p>\u6211\u4eec\u5efa\u8bae\u5c06\u538b\u7f29<strong>\u5b66\u4e60\u9636\u6bb5\u4e0e\u751f\u6210\u5b66\u4e60\u9636\u6bb5\u660e\u786e\u5206\u5f00<\/strong>\uff08\u89c1\u56fe 2\uff09\uff0c\u4ee5\u89c4\u907f\u8fd9\u4e00\u7f3a\u70b9\u3002\u4e3a\u6b64\uff0c\u6211\u4eec\u91c7\u7528\u4e86\u4e00\u79cd<strong>\u81ea\u52a8\u7f16\u7801\u6a21\u578b<\/strong>\uff0c\u8be5\u6a21\u578b\u5b66\u4e60\u7684\u7a7a\u95f4\u5b9e\u9645\u4e0a\u4e0e\u56fe\u50cf\u7a7a\u95f4\u76f8\u5f53\uff0c\u4f46\u8ba1\u7b97\u590d\u6742\u5ea6\u5374\u5927\u5927\u964d\u4f4e\u3002<\/p>\n<p>\u8fd9\u79cd\u65b9\u6cd5\u6709\u4ee5\u4e0b\u51e0\u4e2a\u4f18\u70b9\uff1a(i) \u901a\u8fc7\u6487\u5f00\u9ad8\u7ef4\u56fe\u50cf\u7a7a\u95f4\uff0c\u6211\u4eec\u5f97\u5230\u7684 <code>DM<\/code> \u5728\u8ba1\u7b97\u4e0a\u66f4\u52a0\u9ad8\u6548\uff0c\u56e0\u4e3a\u91c7\u6837\u662f\u5728\u4f4e\u7ef4\u7a7a\u95f4\u4e0a\u8fdb\u884c\u7684\u3002(ii) \u6211\u4eec\u5229\u7528\u4e86 <code>DM<\/code> \u4ece\u5176 <code>UNet<\/code> \u4f53\u7cfb\u7ed3\u6784\u4e2d\u7ee7\u627f\u4e0b\u6765\u7684\u5f52\u7eb3\u504f\u5dee [71]\uff0c\u8fd9\u4f7f\u5f97\u5b83\u4eec\u5bf9\u5177\u6709\u7a7a\u95f4\u7ed3\u6784\u7684\u6570\u636e\u7279\u522b\u6709\u6548\uff0c\u56e0\u6b64\u51cf\u8f7b\u4e86\u5bf9\u4ee5\u5f80\u65b9\u6cd5\u6240\u8981\u6c42\u7684\u6fc0\u8fdb\u7684\u3001\u964d\u4f4e\u8d28\u91cf\u7684\u538b\u7f29\u7ea7\u522b\u7684\u9700\u6c42 [23, 66]\u3002(iii) \u6700\u540e\uff0c\u6211\u4eec\u83b7\u5f97\u4e86\u901a\u7528\u538b\u7f29\u6a21\u578b\uff0c\u5176\u6f5c\u5728\u7a7a\u95f4\u53ef\u7528\u4e8e\u8bad\u7ec3\u591a\u4e2a\u751f\u6210\u6a21\u578b\uff0c\u4e5f\u53ef\u7528\u4e8e\u5176\u4ed6\u4e0b\u6e38\u5e94\u7528\uff0c\u5982\u5355\u56fe\u50cf CLIP \u5f15\u5bfc\u5408\u6210[25]\u3002<\/p>\n<\/blockquote>\n<h4><span class=\"ez-toc-section\" id=\"%E8%AE%BA%E6%96%87%E7%90%86%E8%A7%A3\"><\/span>\u8bba\u6587\u7406\u89e3<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>\u8be5\u8bba\u6587\u63d0\u51fa\u4e86\u4e00\u79cd\u65b0\u7684\u56fe\u50cf\u5408\u6210\u65b9\u6cd5\uff0c\u79f0\u4e3a\u6f5c\u5728\u6269\u6563\u6a21\u578b\uff08Latent Diffusion Model, \u7b80\u79f0LDM\uff09\uff0c\u65e8\u5728\u901a\u8fc7\u5728\u6f5c\u5728\u7a7a\u95f4\u4e2d\u8bad\u7ec3\u6269\u6563\u6a21\u578b\u6765\u63d0\u9ad8\u9ad8\u5206\u8fa8\u7387\u56fe\u50cf\u5408\u6210\u7684\u6548\u7387\u548c\u8d28\u91cf\u3002\u8be5\u65b9\u6cd5\u7ed3\u5408\u4e86\u81ea\u52a8\u7f16\u7801\u5668\u7684\u4f18\u70b9\uff0c\u51cf\u5c11\u4e86\u8ba1\u7b97\u8d44\u6e90\u7684\u6d88\u8017\uff0c\u540c\u65f6\u4fdd\u6301\u4e86\u56fe\u50cf\u5408\u6210\u7684\u9ad8\u89c6\u89c9\u4fdd\u771f\u5ea6\u3002\u8be5\u8bba\u6587\u7684\u6838\u5fc3\u8981\u70b9\u662f\uff1a<\/p>\n<ol>\n<li><strong>\u6269\u6563\u6a21\u578b\u7684\u4f18\u52bf<\/strong>\uff1a\u6269\u6563\u6a21\u578b\u901a\u8fc7\u9010\u6b65\u53bb\u566a\u7684\u65b9\u5f0f\u751f\u6210\u56fe\u50cf\uff0c\u8868\u73b0\u51fa\u8272\uff0c\u5c24\u5176\u662f\u5728\u9ad8\u5206\u8fa8\u7387\u56fe\u50cf\u5408\u6210\u4e0a\uff0c\u907f\u514d\u4e86\u751f\u6210\u5bf9\u6297\u7f51\u7edc\uff08GAN\uff09\u5e38\u89c1\u7684\u6a21\u5f0f\u5d29\u6e83\u548c\u8bad\u7ec3\u4e0d\u7a33\u5b9a\u6027\u95ee\u9898\u3002<\/li>\n<li><strong>\u6f5c\u5728\u7a7a\u95f4\u8bad\u7ec3<\/strong>\uff1a\u901a\u8fc7\u5728\u6f5c\u5728\u7a7a\u95f4(latent space)\u4e2d\u8bad\u7ec3\u6269\u6563\u6a21\u578b\uff0cLDM\u663e\u8457\u964d\u4f4e\u4e86\u8ba1\u7b97\u590d\u6742\u6027\uff0c\u4f7f\u5f97\u9ad8\u5206\u8fa8\u7387\u56fe\u50cf\u5408\u6210\u53d8\u5f97\u66f4\u52a0\u53ef\u884c\u3002\u8be5\u65b9\u6cd5\u5141\u8bb8\u6a21\u578b\u5728\u8f83\u4f4e\u7ef4\u5ea6\u7684\u7a7a\u95f4\u4e2d\u8fdb\u884c\u8bad\u7ec3\uff0c\u4ece\u800c\u52a0\u901f\u4e86\u63a8\u7406\u8fc7\u7a0b\u3002<\/li>\n<li><strong>\u591a\u6a21\u6001\u6761\u4ef6\u673a\u5236<\/strong>\uff1a\u5f15\u5165\u4ea4\u53c9\u6ce8\u610f\u529b\u5c42\uff0c\u4f7f\u5f97\u6a21\u578b\u80fd\u591f\u5904\u7406\u591a\u79cd\u8f93\u5165\u6761\u4ef6\uff0c\u5982\u6587\u672c\u63cf\u8ff0\u548c\u8fb9\u754c\u6846\uff0c\u8fd9\u4e3a\u56fe\u50cf\u5408\u6210\u63d0\u4f9b\u4e86\u7075\u6d3b\u6027\u3002<\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"%E5%A4%A7%E8%87%B4%E5%8E%9F%E7%90%86\"><\/span>\u5927\u81f4\u539f\u7406<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>\u5982\u6a21\u578b\u7ed3\u6784\u56fe\u6240\u793a\uff0c\u5176\u6574\u4f53\u539f\u7406\u5305\u542b\u4e09\u4e2a\u90e8\u5206\uff1a<\/p>\n<ul>\n<li><strong>\u6b63\u5411\u52a0\u566a\u8fc7\u7a0b<\/strong>\uff1a(\u5728pixel space\u50cf\u7d20\u7a7a\u95f4) \u4e00\u5f20\u56fe\u50cf(x) &#8211;&gt; \u6dfb\u52a0\u566a\u58f0(z) &#8211;&gt; \u6dfb\u52a0\u566a\u58f0 &#8230; &#8211;&gt; (\u5728latent space\u6f5c\u5728\u7a7a\u95f4)\u53d8\u6210\u7eaf\u566a\u58f0(Zt)<\/li>\n<li><strong>\u53cd\u5411\u53bb\u566a\u8fc7\u7a0b<\/strong>\uff1a(\u5728latent space\u7a7a\u95f4)\u7eaf\u566a\u58f0(Zt) &#8211;&gt; \u53bb\u566a &#8211;&gt; \u53bb\u566a &#8230; &#8211;&gt; (\u5728pixel space\u7a7a\u95f4)\u53d8\u6210\u56fe\u50cf<\/li>\n<li><strong>Unet\u7ed3\u6784<\/strong>\uff1a\u5728\u53cd\u5411\u53bb\u566a\u7684\u8fc7\u7a0b\u4e2d\uff0c\u91c7\u7528\u4e86\u7c7b\u4f3cUnet\u7684\u7ed3\u6784\uff0c\u901a\u8fc7\u91c7\u7528\u7c7b\u4f3cResblock\u7684skip connection\u7684\u65b9\u5f0f\u4f20\u9012\u68af\u5ea6\uff0c\u4f7f\u5f97\u5728\u53bb\u566a\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u4ee5\u4fdd\u7559\u4e00\u4e9b\u7ec6\u8282\u3002<\/li>\n<li><strong>\u4ea4\u53c9\u6ce8\u610f\u529b<\/strong>\uff1a\u4e3a\u4e86\u80fd\u591f\u7cbe\u51c6\u5730\u63a7\u5236\u4ece\u566a\u58f0\u8f6c\u6362\u4e3a\u56fe\u7684\u8fc7\u7a0b\uff0c\u901a\u8fc7\u4ea4\u53c9\u6ce8\u610f\u529b\u673a\u5236\uff0c\u5c06Conditioning\u4fe1\u606f\u5f15\u5165\u5230Unet\u4e2d\u3002<\/li>\n<li><strong>Conditioning\u4fe1\u606f<\/strong>\uff1aConditioning\u4e2d\u901a\u8fc7\u6587\u672c-\u4e2d\u95f4\u8868\u8fbe-\u56fe\u50cf\u7684\u65b9\u5f0f\uff0c\u5f62\u6210\u8bed\u4e49\u4fe1\u606f\uff0c\u8fdb\u800c\u901a\u8fc7\u4ea4\u53c9\u6ce8\u610f\u529b\u8fdb\u884c\u878d\u5408\u3002<\/li>\n<\/ul>\n<p>\u8bba\u6587\u4e2d\u5173\u4e8e\u4ee5\u4e0a\u6b65\u9aa4\u7684\u5177\u4f53\u65b9\u5f0f\uff0c\u7531\u4e8e\u6570\u5b66\u5185\u5bb9\u8fc7\u4e8e\u786c\u6838\uff0c\u80fd\u529b\u6709\u9650\uff0c\u4e0d\u505a\u6df1\u5165\u4e86\u89e3\u3002<br \/>\n\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u90e8\u7f72\u4e00\u4e2astable Diffusion\u6a21\u578b\u4f53\u9a8c\u5176\u529f\u80fd\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E9%83%A8%E7%BD%B2_StableDiffusion_%E6%A8%A1%E5%9E%8B\"><\/span>\u90e8\u7f72 StableDiffusion \u6a21\u578b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"%E5%87%86%E5%A4%87%E7%8E%AF%E5%A2%83\"><\/span>\u51c6\u5907\u73af\u5883<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u8bbf\u95ee\u8d8b\u52a8\u4e91\uff0c\u521b\u5efa\u4e00\u4e2a\u5f00\u53d1\u73af\u5883<\/p>\n<p><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/10\/\u914d\u7f6eGPU\u73af\u5883.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/10\/\u914d\u7f6eGPU\u73af\u5883.png\" alt=\"\" \/><\/a><br \/>\n\u8bf4\u660e\uff1a<\/p>\n<ul>\n<li>\u7ecf\u8fc7\u5b9e\u6d4b\u6700\u597d\u80fd\u591f\u8fbe\u5230\u5982\u4e0b\u914d\u7f6e\uff1a\u663e\u5b58\uff1a&gt;24G<\/li>\n<li>\u6a21\u578b\u53ef\u4ee5\u9009\u62e9\u6211\u5df2\u7ecf\u4e0a\u4f20\u7684 <code>stable-diffusion-3-medium-diffusers<\/code>\uff0c\u4e5f\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u4e0b\u8f7d\u6a21\u578b\u3002<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"%E4%B8%8B%E8%BD%BD%E6%A8%A1%E5%9E%8B\"><\/span>\u4e0b\u8f7d\u6a21\u578b<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u5728 modelscope \u4e0a\u67e5\u627e <a href=\"https:\/\/modelscope.cn\/models\/AI-ModelScope\/stable-diffusion-3-medium-diffusers\">stable diffusion<\/a>\u6a21\u578b\u5e76\u4e0b\u8f7d<\/p>\n<pre><code class=\"language-bash\"># \u786e\u4fddlfs\u5df2\u5b89\u88c5\ngit lfs install\n\n# \u62c9\u53d6\u6a21\u578b\ngit clone https:\/\/www.modelscope.cn\/AI-ModelScope\/stable-diffusion-3-medium-diffusers.git<\/code><\/pre>\n<p>\u8bf4\u660e\uff1a<\/p>\n<ul>\n<li>\u4e0b\u8f7d\u6a21\u578b\u5230\u672c\u5730\u540e\uff0c\u9700\u8981\u4e0a\u4f20\u8d8b\u52a8\u4e91\u7684\u6a21\u578b\u4e2d\uff0c\u5177\u4f53\u65b9\u6cd5\u8bf7\u89c1<a href=\"https:\/\/17aitech.com\/?p=16535\">\u51c6\u5907\u6a21\u578b<\/a>\u3002<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"%E5%AE%89%E8%A3%85diffusers\"><\/span>\u5b89\u88c5diffusers<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<pre><code class=\"language-bash\">pip install -U diffusers<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"%E8%B0%83%E7%94%A8%E6%A8%A1%E5%9E%8B\"><\/span>\u8c03\u7528\u6a21\u578b<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<pre><code class=\"language-python\"># \u5f15\u5165\u5fc5\u8981\u7684\u5e93\nimport torch\nfrom diffusers import StableDiffusion3Pipeline\n\n# \u8bbe\u7f6e\u6a21\u578b\u672c\u5730\u8def\u5f84\nmodel_id = &quot;\/gemini\/pretrain\/stable-diffusion-3-medium-diffusers&quot;\npipe = StableDiffusion3Pipeline.from_pretrained(model_id, torch_dtype=torch.float16)\npipe = pipe.to(&quot;cuda&quot;)\n\n# \u914d\u7f6e\u63d0\u793a\u8bcd\nprompt = &quot;A cat holding a sign that says hello world&quot;\n\n# \u751f\u6210\u56fe\u7247\nimage = pipe(\n    prompt,\n    negative_prompt=&quot;&quot;,\n    num_inference_steps=28,\n    guidance_scale=7.0,\n).images[0]\n\n# \u663e\u793a\u56fe\u7247\nimage<\/code><\/pre>\n<p>\u8fd0\u884c\u7ed3\u679c\uff1a<br \/>\n<a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/10\/\u8fd0\u884c\u7ed3\u679c1.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/10\/\u8fd0\u884c\u7ed3\u679c1.png\" alt=\"\" \/><\/a><br \/>\n<a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/10\/\u8fd0\u884c\u7ed3\u679c2.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/10\/\u8fd0\u884c\u7ed3\u679c2.png\" alt=\"\" \/><\/a><\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E6%98%BE%E5%AD%98%E5%8D%A0%E7%94%A8\"><\/span>\u663e\u5b58\u5360\u7528<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u901a\u8fc7linux\u547d\u4ee4\u67e5\u770b\u663e\u5b58\u5360\u7528\u60c5\u51b5<\/p>\n<pre><code class=\"language-bash\">nvidia-smi<\/code><\/pre>\n<p><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/10\/GPU\u663e\u5b58\u5360\u7528\u60c5\u51b5.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/10\/GPU\u663e\u5b58\u5360\u7528\u60c5\u51b5.png\" alt=\"\" \/><\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E5%86%85%E5%AE%B9%E5%B0%8F%E7%BB%93\"><\/span>\u5185\u5bb9\u5c0f\u7ed3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>\u6587\u751f\u56fe\uff08Text-to-Image\uff09\u662f\u4e00\u79cd\u4eba\u5de5\u667a\u80fd\u6280\u672f\uff0c\u53ef\u4ee5\u6839\u636e\u8f93\u5165\u7684\u6587\u672c\u63cf\u8ff0\u751f\u6210\u76f8\u5e94\u7684\u56fe\u50cf\u3002<\/li>\n<li>\u6587\u751f\u56fe\u9664\u4e86GAN\u6a21\u578b\u4e4b\u5916\uff0c\u6700\u65b0\u7684\u8fd8\u6709Stable Diffusion\u6a21\u578b\u3002<\/li>\n<li>Stable Diffusion\u6a21\u578b\u7684\u5927\u81f4\u539f\u7406\u4e3a\uff1a\n<ul>\n<li><strong>\u6b63\u5411\u52a0\u566a\u8fc7\u7a0b<\/strong>\uff1a(\u5728pixel space\u50cf\u7d20\u7a7a\u95f4) \u5c06\u4e00\u5f20\u56fe\u50cf(x) &#8211;&gt; \u4e0d\u65ad\u6dfb\u52a0\u566a\u58f0(z)  &#8211;&gt; \u53d8\u6210\u7eaf\u566a\u58f0(Zt)<\/li>\n<li><strong>\u53cd\u5411\u53bb\u566a\u8fc7\u7a0b<\/strong>\uff1a(\u5728latent space\u7a7a\u95f4) \u5c06\u7eaf\u566a\u58f0(Zt) &#8211;&gt; \u4e0d\u65ad\u53bb\u566a &#8211;&gt; \u53d8\u6210\u56fe\u50cf<\/li>\n<li><strong>Unet\u7ed3\u6784<\/strong>\uff1a\u5728\u53cd\u5411\u53bb\u566a\u7684\u8fc7\u7a0b\u4e2d\uff0c\u901a\u8fc7\u91c7\u7528Unet\u7ed3\u6784\uff0c\u4f7f\u5f97\u5728\u53bb\u566a\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u4ee5\u4fdd\u7559\u4e00\u4e9b\u7ec6\u8282\u3002<\/li>\n<li><strong>\u4ea4\u53c9\u6ce8\u610f\u529b<\/strong>\uff1a\u4e3a\u4e86\u80fd\u591f\u7cbe\u51c6\u5730\u63a7\u5236\u4ece\u566a\u58f0\u8f6c\u6362\u4e3a\u56fe\u7684\u8fc7\u7a0b\uff0c\u901a\u8fc7\u4ea4\u53c9\u6ce8\u610f\u529b\u673a\u5236\uff0c\u5c06Conditioning\u4fe1\u606f\u5f15\u5165\u5230Unet\u4e2d\u3002<\/li>\n<\/ul>\n<\/li>\n<li>Stable Diffusion\u7684\u90e8\u7f72\u8fc7\u7a0b\u5927\u81f4\u4e3a\uff1a\n<ul>\n<li>\u914d\u7f6e\u663e\u5b58\u5927\u4e8e24G\u7684GPU\u73af\u5883<\/li>\n<li>\u4e0b\u8f7dStable Diffusion\u6a21\u578b<\/li>\n<li>\u5b89\u88c5diffusers<\/li>\n<li>\u52a0\u8f7d\u6a21\u578b\u540e\uff0c\u7136\u540e\u901a\u8fc7prompt\u63d0\u793a\u8bcd\u751f\u6210\u56fe\u7247\u5373\u53ef<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"%E5%8F%82%E8%80%83%E8%B5%84%E6%96%99\"><\/span>\u53c2\u8003\u8d44\u6599<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li><a href=\"https:\/\/blog.csdn.net\/benben044\/article\/details\/130974891\">Stable Diffusion\u539f\u7406\u8bf4\u660e<\/a><\/li>\n<\/ul>\n<p align=\"center\">\u6b22\u8fce\u5173\u6ce8\u516c\u4f17\u53f7\u4ee5\u83b7\u5f97\u6700\u65b0\u7684\u6587\u7ae0\u548c\u65b0\u95fb<\/p>\n<p><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/09\/\u626b\u7801_\u641c\u7d22\u8054\u5408\u4f20\u64ad\u6837\u5f0f-\u767d\u8272\u7248.bmp\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/09\/\u626b\u7801_\u641c\u7d22\u8054\u5408\u4f20\u64ad\u6837\u5f0f-\u767d\u8272\u7248.bmp\" alt=\"\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00 \u5728\u3010\u8bfe\u7a0b\u603b\u7ed3\u3011Day16\uff1a\u5bf9\u6297\u751f\u6210 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":33304,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"aside","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[28],"tags":[68,66],"class_list":["post-33298","post","type-post","status-publish","format-aside","has-post-thumbnail","hentry","category-blog","tag-68","tag-66","post_format-post-format-aside"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010\u8bfe\u7a0b\u603b\u7ed3\u3011day33\uff1a\u6587\u751f\u56feStableDiffusion\u6a21\u578b\u521d\u6b65\u4e86\u89e3\u4ee5\u53ca\u90e8\u7f72\u4f53\u9a8c - \u4e00\u8d77AI\u6280\u672f<\/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:\/\/17aitech.com\/?p=33298\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/17aitech.com\/?p=33298\",\"url\":\"https:\/\/17aitech.com\/?p=33298\",\"name\":\"\u3010\u8bfe\u7a0b\u603b\u7ed3\u3011day33\uff1a\u6587\u751f\u56feStableDiffusion\u6a21\u578b\u521d\u6b65\u4e86\u89e3\u4ee5\u53ca\u90e8\u7f72\u4f53\u9a8c - \u4e00\u8d77AI\u6280\u672f\",\"isPartOf\":{\"@id\":\"https:\/\/17aitech.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/17aitech.com\/?p=33298#primaryimage\"},\"image\":{\"@id\":\"https:\/\/17aitech.com\/?p=33298#primaryimage\"},\"thumbnailUrl\":\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/10\/\u5c01\u9762-1.png\",\"datePublished\":\"2024-10-12T16:16:59+00:00\",\"author\":{\"@id\":\"https:\/\/17aitech.com\/#\/schema\/person\/3d23bb6f7f115fcefc9ae7803a691739\"},\"breadcrumb\":{\"@id\":\"https:\/\/17aitech.com\/?p=33298#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/17aitech.com\/?p=33298\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/17aitech.com\/?p=33298#primaryimage\",\"url\":\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/10\/\u5c01\u9762-1.png\",\"contentUrl\":\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/10\/\u5c01\u9762-1.png\",\"width\":2394,\"height\":1366},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/17aitech.com\/?p=33298#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/17aitech.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010\u8bfe\u7a0b\u603b\u7ed3\u3011day33\uff1a\u6587\u751f\u56feStableDiffusion\u6a21\u578b\u521d\u6b65\u4e86\u89e3\u4ee5\u53ca\u90e8\u7f72\u4f53\u9a8c\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/17aitech.com\/#website\",\"url\":\"https:\/\/17aitech.com\/\",\"name\":\"\u4e00\u8d77AI\u6280\u672f\",\"description\":\"\u8ba9AI\u77e5\u8bc6\u89e6\u624b\u53ef\u53ca\",\"alternateName\":\"\u4e00\u8d77AI\u6280\u672f\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/17aitech.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/17aitech.com\/#\/schema\/person\/3d23bb6f7f115fcefc9ae7803a691739\",\"name\":\"Dongming\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/17aitech.com\/#\/schema\/person\/image\/\",\"url\":\"\/\/17aitech.com\/wp-content\/uploads\/member\/avatars\/238a0b923820dcc5.1732798681.jpg\",\"contentUrl\":\"\/\/17aitech.com\/wp-content\/uploads\/member\/avatars\/238a0b923820dcc5.1732798681.jpg\",\"caption\":\"Dongming\"},\"description\":\"\u89c1\u5929\u5730\uff0c\u89c1\u4f17\u751f\uff0c\u89c1\u81ea\u5df1\u3002\",\"sameAs\":[\"http:\/\/17aitech.com\"],\"url\":\"https:\/\/17aitech.com\/?page_id=33738&user=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010\u8bfe\u7a0b\u603b\u7ed3\u3011day33\uff1a\u6587\u751f\u56feStableDiffusion\u6a21\u578b\u521d\u6b65\u4e86\u89e3\u4ee5\u53ca\u90e8\u7f72\u4f53\u9a8c - \u4e00\u8d77AI\u6280\u672f","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:\/\/17aitech.com\/?p=33298","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/17aitech.com\/?p=33298","url":"https:\/\/17aitech.com\/?p=33298","name":"\u3010\u8bfe\u7a0b\u603b\u7ed3\u3011day33\uff1a\u6587\u751f\u56feStableDiffusion\u6a21\u578b\u521d\u6b65\u4e86\u89e3\u4ee5\u53ca\u90e8\u7f72\u4f53\u9a8c - \u4e00\u8d77AI\u6280\u672f","isPartOf":{"@id":"https:\/\/17aitech.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/17aitech.com\/?p=33298#primaryimage"},"image":{"@id":"https:\/\/17aitech.com\/?p=33298#primaryimage"},"thumbnailUrl":"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/10\/\u5c01\u9762-1.png","datePublished":"2024-10-12T16:16:59+00:00","author":{"@id":"https:\/\/17aitech.com\/#\/schema\/person\/3d23bb6f7f115fcefc9ae7803a691739"},"breadcrumb":{"@id":"https:\/\/17aitech.com\/?p=33298#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/17aitech.com\/?p=33298"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/17aitech.com\/?p=33298#primaryimage","url":"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/10\/\u5c01\u9762-1.png","contentUrl":"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/10\/\u5c01\u9762-1.png","width":2394,"height":1366},{"@type":"BreadcrumbList","@id":"https:\/\/17aitech.com\/?p=33298#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/17aitech.com\/"},{"@type":"ListItem","position":2,"name":"\u3010\u8bfe\u7a0b\u603b\u7ed3\u3011day33\uff1a\u6587\u751f\u56feStableDiffusion\u6a21\u578b\u521d\u6b65\u4e86\u89e3\u4ee5\u53ca\u90e8\u7f72\u4f53\u9a8c"}]},{"@type":"WebSite","@id":"https:\/\/17aitech.com\/#website","url":"https:\/\/17aitech.com\/","name":"\u4e00\u8d77AI\u6280\u672f","description":"\u8ba9AI\u77e5\u8bc6\u89e6\u624b\u53ef\u53ca","alternateName":"\u4e00\u8d77AI\u6280\u672f","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/17aitech.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/17aitech.com\/#\/schema\/person\/3d23bb6f7f115fcefc9ae7803a691739","name":"Dongming","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/17aitech.com\/#\/schema\/person\/image\/","url":"\/\/17aitech.com\/wp-content\/uploads\/member\/avatars\/238a0b923820dcc5.1732798681.jpg","contentUrl":"\/\/17aitech.com\/wp-content\/uploads\/member\/avatars\/238a0b923820dcc5.1732798681.jpg","caption":"Dongming"},"description":"\u89c1\u5929\u5730\uff0c\u89c1\u4f17\u751f\uff0c\u89c1\u81ea\u5df1\u3002","sameAs":["http:\/\/17aitech.com"],"url":"https:\/\/17aitech.com\/?page_id=33738&user=1"}]}},"_links":{"self":[{"href":"https:\/\/17aitech.com\/index.php?rest_route=\/wp\/v2\/posts\/33298","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/17aitech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/17aitech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/17aitech.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/17aitech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=33298"}],"version-history":[{"count":1,"href":"https:\/\/17aitech.com\/index.php?rest_route=\/wp\/v2\/posts\/33298\/revisions"}],"predecessor-version":[{"id":33305,"href":"https:\/\/17aitech.com\/index.php?rest_route=\/wp\/v2\/posts\/33298\/revisions\/33305"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/17aitech.com\/index.php?rest_route=\/wp\/v2\/media\/33304"}],"wp:attachment":[{"href":"https:\/\/17aitech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=33298"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/17aitech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=33298"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/17aitech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=33298"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}