{"id":53,"date":"2023-05-04T18:03:22","date_gmt":"2023-05-04T10:03:22","guid":{"rendered":"https:\/\/myhelpfulai.com\/?p=53"},"modified":"2023-05-04T18:03:22","modified_gmt":"2023-05-04T10:03:22","slug":"%e3%80%90%e6%91%98%e5%bd%95%e3%80%91%e3%80%90stable-diffusion%e3%80%91%e4%b9%8b%e5%8e%9f%e7%90%86%e7%af%87","status":"publish","type":"post","link":"https:\/\/aitimes.link\/index.php\/2023\/05\/04\/%e3%80%90%e6%91%98%e5%bd%95%e3%80%91%e3%80%90stable-diffusion%e3%80%91%e4%b9%8b%e5%8e%9f%e7%90%86%e7%af%87\/","title":{"rendered":"\u3010\u6458\u5f55\u3011\u3010Stable Diffusion\u3011\u4e4b\u539f\u7406\u7bc7"},"content":{"rendered":"\n<p>\u3010Stable Diffusion\u3011\u4e4b\u539f\u7406\u7bc7<br><a href=\"https:\/\/zhuanlan.zhihu.com\/p\/618862789\">https:\/\/zhuanlan.zhihu.com\/p\/618862789<\/a><\/p>\n\n\n\n<p>\u524d\u8a00<\/p>\n\n\n\n<p>\u4e00\u3001\u6269\u6563\u6a21\u578b\u7684\u7ec4\u6210<\/p>\n\n\n\n<p>1\u3001\u56fe\u50cf\u4fe1\u606f\u751f\u6210\u5668<\/p>\n\n\n\n<p>2\u3001\u56fe\u50cf\u89e3\u7801\u5668<\/p>\n\n\n\n<p>\u4e8c\u3001\u4ec0\u4e48\u662f\u6269\u6563\uff08Diffusion\uff09\uff1f<\/p>\n\n\n\n<p>\u4e09\u3001\u6269\u6563\u662f\u5982\u4f55\u5de5\u4f5c\u7684 \uff1f<\/p>\n\n\n\n<p>\u56db\u3001\u5982\u4f55\u901a\u8fc7\u53bb\u566a\u58f0\u6765\u7ed8\u5236\u56fe\u50cf \uff1f<\/p>\n\n\n\n<p>\u4e94\u3001\u901f\u5ea6\u63d0\u5347\uff1a\u5728\u538b\u7f29(\u6f5c\u5728)\u6570\u636e\u4e0a\u6269\u6563\u800c\u975e\u5728\u50cf\u7d20\u6570\u636e\u4e0a<\/p>\n\n\n\n<p>\u516d\u3001\u6587\u672c\u7f16\u7801\u5668\uff1a\u4e00\u4e2a Transformer \u8bed\u8a00\u6a21\u578b<\/p>\n\n\n\n<p>\u4e03\u3001CLIP\u5982\u4f55\u8bad\u7ec3 \uff1f<\/p>\n\n\n\n<p>\u516b\u3001\u5c06\u6587\u672c\u4fe1\u606f\u5582\u7ed9\u56fe\u50cf\u751f\u6210\u8fc7\u7a0b<\/p>\n\n\n\n<p>\u4e5d\u3001Unet \u566a\u58f0\u9884\u6d4b\u5668\u7684\u9690\u5c42\uff08\u4e0d\u5305\u62ec\u6587\u672c\uff09<\/p>\n\n\n\n<p>\u5341\u3001\u5e26\u6709\u6587\u672c\u7684 Unet \u566a\u58f0\u9884\u6d4b\u5668\u9690\u5c42<\/p>\n\n\n\n<p>\u603b\u7ed3<\/p>\n\n\n\n<p><strong>AI \u56fe\u50cf\u751f\u6210\u6280\u672f\u00a0<\/strong>\u662f\u8fd1\u671f\u4ee5\u6765\u6700\u9707\u64bc\u4eba\u5fc3\u7684 AI \u80fd\u529b\u3002\u901a\u8fc7\u6587\u672c\u63cf\u8ff0\u751f\u6210\u751f\u52a8\u56fe\u50cf\u6240\u4f53\u73b0\u7684\u80fd\u529b\uff0c\u5177\u6709\u4e00\u79cd\u795e\u5947\u7684\u7279\u8d28\uff0c\u5e76\u4e14\u6e05\u6670\u5730\u6307\u660e\u4eba\u7c7b\u827a\u672f\u521b\u4f5c\u7684\u8f6c\u53d8\u65b9\u5411\u3002\u7a33\u5b9a\u6269\u6563\u6a21\u578b\u7684\u63a8\u51fa\u662f\u5728\u6b64\u53d1\u5c55\u8fc7\u7a0b\u4e2d\u7684\u4e00\u4e2a\u660e\u786e\u91cc\u7a0b\u7891\uff0c\u5176\u5bf9\u5927\u4f17\u63d0\u4f9b\u4e86\u9ad8\u6027\u80fd\u7684\u6a21\u578b\u80fd\u529b\uff08\u4e0d\u6b62\u4e8e\u56fe\u50cf\u8d28\u91cf\u3001\u901f\u5ea6\u3001\u76f8\u5bf9\u4f4e\u8d44\u6e90\/\u5185\u5b58\u9700\u6c42\uff09\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"424\" src=\"https:\/\/myhelpfulai.com\/wp-content\/uploads\/2023\/05\/image-1-1024x424.png\" alt=\"\" class=\"wp-image-54\" srcset=\"https:\/\/aitimes.link\/wp-content\/uploads\/2023\/05\/image-1-1024x424.png 1024w, https:\/\/aitimes.link\/wp-content\/uploads\/2023\/05\/image-1-300x124.png 300w, https:\/\/aitimes.link\/wp-content\/uploads\/2023\/05\/image-1-768x318.png 768w, https:\/\/aitimes.link\/wp-content\/uploads\/2023\/05\/image-1.png 1388w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h_618862789_1\">\u6269\u6563\u6a21\u578b\u7684\u7ec4\u6210<\/h2>\n\n\n\n<p>\u6269\u6563\u6a21\u578b\u662f\u4e00\u4e2a\u7cfb\u7edf\uff0c\u7531\u51e0\u4e2a\u7ec4\u4ef6\u548c\u6a21\u578b\u6784\u6210\uff0c\u800c\u975e\u5355\u72ec\u4e00\u4e2a\u6a21\u578b\u3002 \u5f53\u6211\u4eec\u5173\u6ce8\u5e95\u5c42\u539f\u7406\u65f6\uff0c\u9996\u5148\u6ce8\u610f\u5230\u7684\u662f\u6709\u4e00\u4e2a\u201c\u6587\u672c\u7406\u89e3\u7ec4\u4ef6\u201d\u4e5f\u5c31\u662f\u6587\u672c\u7f16\u7801\u5668\uff0c\u5b83\u5c06\u201c\u6587\u672c\u4fe1\u606f\u201d\u8f6c\u53d8\u6210\u201c\u6570\u5b57\u5316\u63cf\u8ff0\u201d\uff0c\u4ece\u800c\u8ba9AI\u80fd\u591f\u6355\u6349\u5230\u6587\u672c\u4e2d\u7684\u542b\u4e49\u3002<\/p>\n\n\n\n<p>\u6211\u4eec\u53ef\u4ee5\u8bf4\u8fd9\u4e2a\u6587\u672c\u7f16\u7801\u5668\u662f\u4e00\u4e2a\u7279\u6b8a\u7684Transformer\u8bed\u8a00\u6a21\u578b\uff08\u6280\u672f\uff1aCLIP\u6a21\u578b\u7684\u6587\u672c\u7f16\u7801\u5668\uff09\u3002\u5b83\u63a5\u6536\u6587\u672c\u505a\u8f93\u5165\uff0c\u7136\u540e\u8f93\u51fa\u6570\u7ec4\u8868\u793a\u6bcf\u4e2a\u8bcd\/\u8868\u5f81\uff08\u6bcf\u4e2a\u8868\u5f81\u90fd\u662f\u4e00\u4e2a\u5411\u91cf\uff09\u3002\u7136\u540e\u8fd9\u4e9b\u4fe1\u606f\u88ab\u63d0\u4f9b\u7ed9\u7531\u4e00\u5806\u7ec4\u4ef6\u6784\u6210\u7684\u201c\u56fe\u50cf\u751f\u6210\u5668\u201d\u3002<\/p>\n\n\n\n<p>\u8fd9\u91cc\u7684\u56fe\u50cf\u751f\u6210\u5386\u7ecf\u4e0b\u9762\u4e24\u4e2a\u8fc7\u7a0b\uff1a<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h_618862789_2\">1\u3001\u56fe\u50cf\u4fe1\u606f\u751f\u6210\u5668<\/h3>\n\n\n\n<p>\u8fd9\u4e2a\u7ec4\u4ef6\u662f\u6269\u6563\u6a21\u578b\u7684\u79d8\u5bc6\u6b66\u5668\uff0c\u5b83\u662f\u8be5\u6a21\u578b\u8fdc\u8d85\u4e4b\u524d\u6a21\u578b\u7684\u4ef7\u503c\u6240\u5728\u3002<br>\u8fd9\u4e2a\u7ec4\u4ef6\u5206\u597d\u51e0\u6b65\u6765\u751f\u6210\u56fe\u50cf\u4fe1\u606f\u3002Step \u53c2\u6570\u901a\u5e38\u662f 50 \u6216\u8005 100\uff0c\u5728\u6269\u6563\u6a21\u578b\u7684\u516c\u5f00\u63a5\u53e3\u6216\u8005\u5f00\u653e\u5e93\u4e2d\u3002\u56fe\u50cf\u4fe1\u606f\u751f\u6210\u5668\u5b8c\u5168\u5728\u56fe\u50cf\u4fe1\u606f\u7a7a\u95f4\uff08\u6f5c\u5728\u7a7a\u95f4\uff09\u4e2d\u5de5\u4f5c\u3002\u6211\u4eec\u5c06\u5728\u540e\u7eed\u4ecb\u7ecd\u5176\u66f4\u591a\u7684\u610f\u4e49\u3002\u8fd9\u4e00\u7279\u6027\u4f7f\u5f97\u6269\u6563\u6a21\u578b\u6bd4\u4e4b\u524d\u5728\u50cf\u7d20\u7a7a\u95f4\u5de5\u4f5c\u7684\u6269\u6563\u6a21\u578b\u8981\u66f4\u5feb\u3002\u7528\u6280\u672f\u672f\u8bed\u6765\u8bf4\uff0c\u8fd9\u4e00\u7ec4\u4ef6\u7531\u7f51\u683c\u7f51\u7edc\u548c\u8c03\u5ea6\u7b97\u6cd5\u7ec4\u6210\u3002\u5355\u8bcd diffusion \u63cf\u8ff0\u4e86\u8fd9\u4e00\u7ec4\u4ef6\u4e2d\u53d1\u751f\u4e86\u4ec0\u4e48\u3002\u6b63\u662f\u5bf9\u4fe1\u606f\u4e00\u6b65\u4e00\u6b65\u7684\u5904\u7406\uff0c\u4f7f\u5f97\u9ad8\u8d28\u91cf\u56fe\u50cf\u5f97\u4ee5\u6700\u7ec8\u751f\u6210\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h_618862789_3\">2\u3001\u56fe\u50cf\u89e3\u7801\u5668<\/h3>\n\n\n\n<p>\u56fe\u50cf\u89e3\u7801\u5668\u901a\u8fc7\u524d\u7f6e\u4fe1\u606f\u751f\u6210\u5668\u5f97\u5230\u7684\u4fe1\u606f\u6765\u751f\u6210\u56fe\u50cf\u3002\u5b83\u53ea\u5728\u6700\u540e\u8fd0\u884c\u4e00\u6b21\u6765\u751f\u6210\u6700\u7ec8\u7684\u50cf\u7d20\u56fe\u50cf\u3002<\/p>\n\n\n\n<p>\u6709\u4e86\u8fd9\u4e9b\u6211\u4eec\u518d\u6765\u770b\u7ec4\u6210SD\u6269\u6563\u6a21\u578b\u76843\u4e2a\u4e3b\u8981\u7ec4\u4ef6<\/p>\n\n\n\n<p>1\uff09Clip Text \u7528\u4e8e\u6587\u672c\u7f16\u7801<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u8f93\u5165\uff1a\u6587\u672c<br>\u8f93\u51fa\uff1a77 \u4e2a\u8868\u5f81\u5411\u91cf\uff0c\u6bcf\u4e2a\u6709 768 \u7ef4\u5ea6<\/p>\n<\/blockquote>\n\n\n\n<p>2\uff09\u7f51\u683c\u7f51\u7edc+\u8c03\u5ea6\uff0c\u9010\u6e10\u5904\u7406\/\u6269\u6563\u4fe1\u606f\u5230\u6f5c\u5728\uff08\u4fe1\u606f\uff09\u7a7a\u95f4\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u8f93\u5165\uff1a\u6587\u672c\u5411\u91cf \u548c \u8d77\u59cb\u591a\u7ef4\u6570\u7ec4\uff08\u7ed3\u6784\u5316\u7684\u6570\u5b57\u5217\u8868\uff0c\u4e5f\u53eb Tensor\uff09\u7531\u566a\u58f0\u7ec4\u6210\u3002<br>\u8f93\u51fa\uff1a\u5904\u7406\u540e\u7684\u4fe1\u606f\u6570\u7ec4<\/p>\n<\/blockquote>\n\n\n\n<p>3\uff09\u81ea\u7f16\u7801\u89e3\u7801\u5668\uff0c\u7ed8\u51fa\u6700\u540e\u7684\u56fe\u50cf\uff0c\u501f\u52a9\u4e4b\u524d\u5904\u7406\u8fc7\u7684\u4fe1\u606f\u6570\u7ec4\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u8f93\u5165\uff1a\u5904\u7406\u8fc7\u7684\u4fe1\u606f\u6570\u7ec4\uff08\u7ef4\u5ea6:\uff084\uff0c64\uff0c64\uff09\uff09<br>\u8f93\u51fa\uff1a\u7ed3\u679c\u56fe\u50cf\uff08\u7ef4\u5ea6:\uff083\uff0c512\uff0c512\uff09\u5206\u522b\u662f\u7ea2 \/ \u7eff \/ \u84dd\uff0c\u5bbd\uff0c\u9ad8\uff09<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h_618862789_4\">\u4e8c\u3001\u4ec0\u4e48\u662f\u6269\u6563\uff08Diffusion\uff09\uff1f<\/h2>\n\n\n\n<p>\u6269\u6563\u53d1\u751f\u4e8e\u4e0b\u56fe\u7c89\u8272\u7ec4\u4ef6\u201c\u56fe\u50cf\u4fe1\u606f\u751f\u6210\u5668\u201d\u4e2d\u3002\u83b7\u53d6\u8868\u8fbe\u8f93\u5165\u6587\u672c\u7684\u8868\u5f81\u5411\u91cf\uff0c\u4ee5\u53ca\u4e00\u4e2a\u968f\u673a\u542f\u52a8\u7684\u56fe\u50cf\u4fe1\u606f\u6570\u7ec4\uff0c\u8fd9\u4e00\u8fc7\u7a0b\u4ea7\u751f\u540e\u7eed\u7684\u56fe\u50cf\u89e3\u7801\u5668\u7528\u6765\u7ed8\u56fe\u7684\u6240\u9700\u4fe1\u606f\u6570\u7ec4<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"533\" src=\"https:\/\/myhelpfulai.com\/wp-content\/uploads\/2023\/05\/image-2-1024x533.png\" alt=\"\" class=\"wp-image-55\" srcset=\"https:\/\/aitimes.link\/wp-content\/uploads\/2023\/05\/image-2-1024x533.png 1024w, https:\/\/aitimes.link\/wp-content\/uploads\/2023\/05\/image-2-300x156.png 300w, https:\/\/aitimes.link\/wp-content\/uploads\/2023\/05\/image-2-768x400.png 768w, https:\/\/aitimes.link\/wp-content\/uploads\/2023\/05\/image-2.png 1440w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u3010Stable Diffusion\u3011\u4e4b\u539f\u7406\u7bc7https:\/\/zhuanlan.zhihu.com\/p\/6188 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-53","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/aitimes.link\/index.php\/wp-json\/wp\/v2\/posts\/53","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aitimes.link\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aitimes.link\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aitimes.link\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aitimes.link\/index.php\/wp-json\/wp\/v2\/comments?post=53"}],"version-history":[{"count":1,"href":"https:\/\/aitimes.link\/index.php\/wp-json\/wp\/v2\/posts\/53\/revisions"}],"predecessor-version":[{"id":56,"href":"https:\/\/aitimes.link\/index.php\/wp-json\/wp\/v2\/posts\/53\/revisions\/56"}],"wp:attachment":[{"href":"https:\/\/aitimes.link\/index.php\/wp-json\/wp\/v2\/media?parent=53"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aitimes.link\/index.php\/wp-json\/wp\/v2\/categories?post=53"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aitimes.link\/index.php\/wp-json\/wp\/v2\/tags?post=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}