{"id":55803,"date":"2026-08-20T09:42:26","date_gmt":"2026-08-20T01:42:26","guid":{"rendered":"https:\/\/www.1ai.net\/?p=55803"},"modified":"2026-08-11T11:28:45","modified_gmt":"2026-08-11T03:28:45","slug":"comfyui-%e4%bb%8e%e5%ae%89%e8%a3%85%e5%85%a5%e9%97%a8%e5%88%b0%e7%b2%be%e9%80%9a%ef%bc%8cdepth-%e6%b7%b1%e6%8c%96-%e9%ab%98%e6%b8%85%e6%94%be%e5%a4%a7%ef%bc%88%e6%b8%85%e6%99%b0%e5%ba%a6%e5%86%8d","status":"publish","type":"post","link":"https:\/\/www.1ai.net\/en\/55803.html","title":{"rendered":"ComfyUI from installation entrance to mastery, Decth dig deep + high-resolution magnification (supplied)"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55816\" title=\"6668087dj00tjl4i000p0d000p400dup\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2026\/08\/6668087dj00tjl4i000p0d000p400dup.jpg\" alt=\"6668087dj00tjl4i000p0d000p400dup\" width=\"904\" height=\"498\" \/><\/p>\n<p>\u7b2c 10 \u7bc7 <a href=\"https:\/\/www.1ai.net\/55801.html\">ComfyUI \u4ece\u5b89\u88c5\u5165\u95e8\u5230\u7cbe\u901a\uff0cControlNet \u4e09\u5927\u573a\u666f\uff08\u753b\u9762\u542c\u4f60\u6307\u6325\uff09<\/a>\u4f60\u5b66\u4f1a\u4e86 ControlNet \u4e09\u5144\u5f1f\uff08OpenPose \/ Depth \/ Canny\uff09\uff0c\u4e5f\u77e5\u9053 strength \u600e\u4e48\u62e7\u4e86\u3002\u4f46\u5f53\u65f6\u6211\u7559\u4e86\u4e2a\u5751\u6ca1\u586b\uff1a<strong>\u8fd9\u4e09\u4e2a\u5230\u5e95\u4ec0\u4e48\u65f6\u5019\u7528\u54ea\u4e2a\uff1f<\/strong><\/p>\n<p>\u6211\u81ea\u5df1\u8e29\u8fc7\u7684\u771f\u5b9e\u7ecf\u5386\uff1a\u6709\u56de\u60f3\u628a\u4e00\u5f20\u771f\u4eba\u7167\u7247\u6539\u6210\u8d5b\u535a\u670b\u514b\u98ce\u683c\uff0c\u987a\u624b\u7528\u4e86 Canny\uff08\u7b2c 10 \u7bc7\u8bf4\u5b83\u63a7\u8f6e\u5ed3\u561b\uff09\u3002\u7ed3\u679c\u65b0\u8863\u670d\u7684\u8936\u76b1\u3001\u8fb9\u7f18\u5168\u88ab\u539f\u56fe&#8221;\u710a\u6b7b&#8221;\u4e86\uff0c\u6539\u98ce\u683c\u6539\u5f97\u6781\u5176\u751f\u786c\uff0c\u50cf\u7ed9\u7167\u7247\u8d34\u4e86\u5c42\u6ee4\u955c\u3002\u540e\u6765\u624d\u77e5\u9053\uff0c\u8981&#8221;\u6362\u76ae\u4e0d\u6362\u9aa8&#8221;\uff0c\u5f97\u7528\u00a0<strong>Depth\uff08\u6df1\u5ea6\uff09<\/strong>\u2014\u2014\u5b83\u8ba4\u7684\u662f\u524d\u540e\u7a7a\u95f4\u5c42\u6b21\uff0c\u4e0d\u662f\u8fb9\u7f18\u7ebf\u3002\u8fd9\u7bc7\u5c31\u628a Depth \u5355\u72ec\u8bb2\u900f\u3002<\/p>\n<p><strong>\u4e00\u3001Depth \u662f\u5565\uff08\u5927\u767d\u8bdd\uff09<\/strong><\/p>\n<p>\u4e00\u53e5\u8bdd\uff1a<strong>Depth \u63a7\u5236\u7684\u662f\u753b\u9762\u91cc&#8221;\u8c01\u5728\u524d\u3001\u8c01\u5728\u540e\u3001\u4f53\u5757\u600e\u4e48\u6446&#8221;\uff0c\u800c\u4e0d\u662f\u8fb9\u7f18\u7ebf\u6761\u3002<\/strong>ControlNet \u5bb6\u65cf\u91cc\u5b83\u548c Canny \u6700\u5bb9\u6613\u641e\u6df7\uff0c\u533a\u522b\u4e00\u5f20\u8868\u8bf4\u6e05\uff1a<\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">\u5bf9\u6bd4<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">Canny\uff08\u8fb9\u7f18\uff09<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">Depth\uff08\u6df1\u5ea6\uff09<\/span><\/section>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">\u8ba4\u4ec0\u4e48<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">\u8f6e\u5ed3\u7ebf\u3001\u8863\u670d\u8936\u76b1\u3001\u6240\u6709\u786c\u8fb9<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">\u524d\u540e\u7a7a\u95f4\u3001\u4f53\u5757\u8fdc\u8fd1\u3001\u80a9\u9888\u7acb\u4f53\u7ed3\u6784<\/span><\/section>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">\u6362\u98ce\u683c\u65f6<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">\u8fb9\u7ebf\u9501\u6b7b\uff0c\u65b0\u8863\u670d\u8936\u76b1\u4e5f\u52a8\u4e0d\u4e86<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">\u53ea\u4fdd\u7a7a\u95f4\uff0c\u670d\u88c5\u8fb9\u7ebf\u653e\u5f00\uff0c\u6362\u88c5\u66f4\u81ea\u7136<\/span><\/section>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">\u9002\u5408<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">\u7ebf\u7a3f\u4e0a\u8272\u3001\u4fdd\u4ea7\u54c1\u8f6e\u5ed3<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">\u4eba\u50cf\u6362\u88c5\u3001\u98ce\u683c\u8fc1\u79fb\u3001\u6539\u573a\u666f\u4e0d\u4e22\u59ff\u6001<\/span><\/section>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u4e00\u53e5\u8bdd\u8bb0\u4f4f\uff1a<\/strong>Canny \u7ba1&#8221;\u7ebf&#8221;\uff0cDepth \u7ba1&#8221;\u7a7a\u95f4&#8221;\u3002\u60f3\u6362\u76ae\u4e0d\u6362\u9aa8\uff0c\u7528 Depth\u3002<\/p>\n<p><strong>\u4e8c\u3001\u6587\u4ef6 \/ \u73af\u5883\u51c6\u5907\uff08\u653e\u9519\u76f4\u63a5\u62a5\u6a21\u578b\u4e0d\u5b58\u5728\uff09<\/strong><\/p>\n<p>Depth \u6bd4 OpenPose \u591a\u4e00\u5c42\u4f9d\u8d56\uff0c\u6389\u5751\u6982\u7387\u6700\u9ad8\u3002\u8981\u51c6\u5907\u4e24\u4e2a\u4e1c\u897f\uff1a<\/p>\n<p><strong>\u2460 ControlNet \u6a21\u578b\u6743\u91cd<\/strong>\uff08\u548c Canny\/OpenPose \u540c\u4e00\u7c7b\uff0c\u653e\u8fd9\uff09\uff1a<\/p>\n<p><a href=\"https:\/\/www.1ai.net\/en\/tag\/comfyui\" title=\"\u3010\u67e5\u770b\u542b\u6709[ComfyUI]\u6807\u7b7e\u7684\u6587\u7ae0\u3011\" target=\"_blank\" rel=\"noopener\">ComfyUI<\/a>\/models\/controlnet\/<\/p>\n<p>SD1.5 \u5e95\u6a21\u7528\u00a0control_v11f1p_sd15_depth_fp16\uff1bSDXL \u5e95\u6a21\u7528\u00a0diffusers_xl_depth_full\u3002<\/p>\n<p><strong>\u2461 DepthAnythingV2 \u9884\u5904\u7406\u6743\u91cd<\/strong>\uff08\u8fd9\u4e2a\u6700\u5bb9\u6613\u88ab\u6f0f\uff0c\u8282\u70b9\u4ee3\u7801\u88c5\u4e86 \u2260 \u6743\u91cd\u6709\u4e86\uff09\uff1a<\/p>\n<p>ComfyUI\/custom_nodes\/comfyui_controlnet_aux\/ckpts\/depth-anything\/depth_anything_v2_vitl.pth<\/p>\n<p><strong>\u8e29\u5751\u7ecf\u5386\uff1a<\/strong>\u6211\u5934\u4e00\u56de\u7528 Depth\uff0c\u53ea\u88c5\u4e86 ControlNet \u8282\u70b9\u3001\u4e0b\u4e86 ControlNet \u6a21\u578b\uff0c\u8dd1\u5230\u4e00\u534a\u62a5&#8221;model not found&#8221;\u3002\u6298\u817e\u534a\u5929\u53d1\u73b0\u662f DepthAnythingV2 \u90a3\u4e2a\u00a0.pth\u9884\u5904\u7406\u6743\u91cd\u6ca1\u4e0b\u2014\u2014\u8282\u70b9\u5728\u753b\u5e03\u4e0a\u80fd\u52a0\uff0c\u4e00\u8fd0\u884c\u5c31\u7f3a\u6599\u3002\u6587\u4ef6\u540d\u5fc5\u987b\u4e00\u5b57\u4e0d\u5dee\u00a0depth_anything_v2_vitl.pth\uff0c\u653e\u9519\u6587\u4ef6\u5939\uff08\u6bd4\u5982\u76f4\u63a5\u4e22\u8fdb controlnet\/\uff09\u5b83\u4e5f\u627e\u4e0d\u5230\u3002<\/p>\n<p><strong>\u4e09\u3001\u624b\u628a\u624b\u63a5\u8282\u70b9\uff08\u7167\u7740\u8fde\uff09<\/strong><\/p>\n<p>\u548c\u7b2c 10 \u7bc7\u7684\u57fa\u7840\u94fe\u6bd4\uff0cDepth \u5c31\u662f\u591a\u4e86\u4e00\u4e2a&#8221;\u9884\u5904\u7406&#8221;\u73af\u8282\uff1a\u5148\u628a\u53c2\u8003\u56fe\u53d8\u6210\u4e00\u5f20\u6df1\u5ea6\u56fe\uff0c\u518d\u5582\u7ed9 ControlNet\u3002<\/p>\n<p>\u53c2\u8003\u56fe Load Image \u2192 DepthAnythingV2Preprocessor \u2192 \u6df1\u5ea6\u56fe<br \/>\n\u2193<br \/>\nControlNet Loader(\u9009 depth \u6a21\u578b) + \u6df1\u5ea6\u56fe + \u6b63\u8d1f\u63d0\u793a\u8bcd \u2192 ControlNet Apply Advanced<br \/>\n\u2193<br \/>\nKSampler \u2192 VAE Decode \u2192 Save Image<\/p>\n<p>1.\u00a0<strong>\u52a0\u8282\u70b9<\/strong>\uff1a\u53f3\u952e\u641c DepthAnythingV2Preprocessor\u3001ControlNet Loader\u3001ControlNet Apply (Advanced)\u3002<br \/>\n2.\u00a0<strong>\u63a5\u7ebf<\/strong>\uff1aLoad Image \u7684 IMAGE \u2192 Preprocessor \u7684 image\uff1bPreprocessor \u7684 IMAGE \u2192 Apply \u7684 control_net\uff1bLoader \u7684 CONTROL_NET \u2192 Apply \u7684 control_net\uff1bApply \u7684 positive \/ negative \u63a5\u6b63\u8d1f\u63d0\u793a\u8bcd\uff1bApply \u7684 MODEL \u63a5 KSampler\u3002<br \/>\n3.\u00a0<strong>\u9009\u6a21\u578b<\/strong>\uff1aLoader \u91cc\u9009 control_v11f1p_sd15_depth_fp16\uff08SD1.5\uff09\u6216 diffusers_xl_depth_full\uff08SDXL\uff09\u3002<br \/>\n4.\u00a0<strong>\u8bbe\u8303\u56f4<\/strong>\uff1aApply \u91cc strength \u8bbe 0.65\uff0cstart_percent \u8bbe 0\u3001end_percent \u8bbe 1\u3002<\/p>\n<p>\u4e00\u53e5\u8bdd\u8bb0\u63a5\u6cd5\uff1a<strong>\u53c2\u8003\u56fe\u5148\u8fc7 Depth \u9884\u5904\u7406\u51fa\u6df1\u5ea6\u56fe\uff0c\u518d\u548c ControlNet \u6a21\u578b\u4e00\u8d77\u8fdb Apply Advanced\uff0c\u63a5\u8fdb\u4e3b\u94fe\u3002<\/strong><\/p>\n<p><strong>\u5b9e\u64cd\u95ed\u73af\uff1a10 \u5206\u949f\uff0c\u7528 Depth \u7ed9\u7167\u7247\u6362\u4e00\u5957\u98ce\u683c\uff08\u73b0\u5728\u5c31\u505a\uff09<\/strong><\/p>\n<p>\u524d\u9762\u8bb2\u539f\u7406\uff0c\u8fd9\u6bb5\u771f\u505a\u4e00\u904d\u3002\u505a\u5b8c\u4f60\u624b\u91cc\u591a\u4e00\u5f20&#8221;\u7a7a\u95f4\u7ed3\u6784\u8ddf\u539f\u56fe\u4e00\u81f4\u3001\u4f46\u6362\u4e86\u98ce\u683c&#8221;\u7684\u56fe\uff0c\u8fd8\u80fd\u786e\u8ba4 Depth \u771f\u751f\u6548\u4e86\u3002<\/p>\n<p><strong>\u524d\u63d0<\/strong>\uff1a\u4f60\u5df2\u6709\u7b2c 10 \u7bc7\u7684 ControlNet \u57fa\u7840\u94fe\uff08Load Image \u2192 Preprocessor \u2192 ControlNet Apply Advanced \u2192 KSampler \u2192 VAE Decode \u2192 Save\uff09\u3002\u4e22\u4e86\u5c31\u6309\u8fd9 5 \u7c7b\u8282\u70b9\u91cd\u642d\u3002<br \/>\n<strong>\u76ee\u6807<\/strong>\uff1a\u62ff\u4e00\u5f20\u4f60\u7684\u771f\u4eba\u7167\u7247\uff0c\u7528 Depth \u63a7\u5236\u7a7a\u95f4\uff0c\u628a\u98ce\u683c\u6539\u6210&#8221;\u6c34\u5f69 \/ \u8d5b\u535a\u670b\u514b \/ \u4efb\u610f&#8221;\uff0c\u539f\u56fe\u7684\u59ff\u6001\u3001\u80a9\u9888\u3001\u534a\u8eab\u8f6e\u5ed3\u90fd\u4fdd\u4f4f\uff0c\u4f46\u8863\u670d\u7ec6\u8282\u968f\u98ce\u683c\u8d70\u3002<\/p>\n<p>\u6b65\u9aa4\uff08\u7167\u7740\u70b9\uff0c\u522b\u8df3\uff09\uff1a<br \/>\n1.\u00a0<strong>\u4e0b\u6a21\u578b<\/strong>\uff1a\u6309\u4f60\u5e95\u6a21\u4e0b Depth ControlNet\uff08SD1.5 \u7528 control_v11f1p_sd15_depth_fp16\uff09\uff0c\u4e22\u8fdb models\/controlnet\/\u3002<br \/>\n2.\u00a0<strong>\u4e0b\u9884\u5904\u7406\u6743\u91cd<\/strong>\uff1a\u4e0b depth_anything_v2_vitl.pth\uff0c\u653e comfyui_controlnet_aux\/ckpts\/depth-anything\/\uff0c\u6587\u4ef6\u540d\u4e00\u5b57\u4e0d\u5dee\u3002<br \/>\n3.\u00a0<strong>\u52a0\u8282\u70b9<\/strong>\uff1a\u753b\u5e03\u52a0 DepthAnythingV2Preprocessor + ControlNet Loader + ControlNet Apply (Advanced)\uff0c\u6309\u7b2c\u4e09\u8282\u63a5\u597d\u7ebf\u3002<br \/>\n4.\u00a0<strong>\u5582\u53c2\u8003\u56fe<\/strong>\uff1aLoad Image \u9009\u4f60\u7684\u7167\u7247\uff1bLoader \u9009 depth \u6a21\u578b\uff1bPreprocessor \u7684 resolution \u8bbe 768\uff08\u5e73\u8861\u6863\uff09\u3002<br \/>\n5.\u00a0<strong>\u8bbe\u53c2\u6570\uff08\u6700\u5173\u952e\uff09<\/strong>\uff1aApply \u91cc strength \u586b 0.65\uff0cstart_percent 0\u3001end_percent 1\u3002<br \/>\n6.\u00a0<strong>\u5199\u63d0\u793a\u8bcd<\/strong>\uff1a\u6b63\u5411\u5199&#8221;\u6362\u6210\u7684\u98ce\u683c&#8221;\uff08\u5982 watercolor painting\uff09+ \u539f\u56fe\u4e3b\u4f53\u63cf\u8ff0\uff1b\u56fa\u5b9a\u79cd\u5b50\uff08\u5982 12345\uff09\u3002<br \/>\n7.\u00a0<strong>\u51fa\u56fe<\/strong>\uff1a\u70b9 Queue Prompt\u3002<\/p>\n<p><strong>\u68c0\u67e5\u70b9\uff08\u4f60\u8dd1\u5b8c\u5e94\u8be5\u770b\u5230\uff09\uff1a<\/strong>\u2460 \u751f\u6210\u56fe\u59ff\u6001\/\u8f6e\u5ed3\u548c\u539f\u56fe\u4e00\u81f4\uff0c\u4f46\u753b\u98ce\u53d8\u4e86 = Depth \u751f\u6548\uff1b\u2461 \u62a5&#8221;model not found&#8221; = \u6a21\u578b\u6216 .pth \u8def\u5f84\u9519\uff08\u56de\u7b2c\u4e8c\u8282\uff09\uff1b\u2462 \u751f\u6210\u56fe\u548c\u539f\u56fe\u5b8c\u5168\u65e0\u5173 = Apply \u6ca1\u63a5\u8fdb positive \u94fe\uff08\u56de\u7b2c\u4e09\u8282\u7b2c 2 \u6b65\uff09\u3002<\/p>\n<p>\u4f5c\u4e1a\uff08\u9009\u505a\uff09\uff1a\u628a strength \u4ece 0.65 \u8c03\u5230 0.4 \u518d\u8dd1\u4e00\u5f20\u2014\u2014\u4f60\u4f1a\u53d1\u73b0\u59ff\u6001\u53d8&#8221;\u677e&#8221;\u4e86\uff0c\u539f\u56fe\u5f71\u54cd\u53d8\u5f31\uff1b\u8c03\u5230 0.85 \u5219\u51e0\u4e4e\u539f\u6837\u590d\u523b\u7a7a\u95f4\u3002\u8fd9\u5c31\u662f\u65cb\u94ae\u7684\u624b\u611f\u3002<\/p>\n<p><strong>\u56db\u3001\u6838\u5fc3\u65cb\u94ae\uff1astrength \u4e0e\u9884\u5904\u7406\u5206\u8fa8\u7387<\/strong><\/p>\n<p><strong>strength\uff08\u63a7\u5236\u5f3a\u5ea6\uff09<\/strong>\u2014\u2014Depth \u6700\u8be5\u641e\u61c2\u7684\u65cb\u94ae\uff0c\u591a\u6e90\u5b9e\u6d4b\u533a\u95f4\uff1a<\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">\u533a\u95f4<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">\u6548\u679c<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">\u9002\u5408<\/span><\/section>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">0.35\uff5e0.5<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">\u5f31\u63a7\u5236\uff0c\u53ea\u501f\u4e2a\u5927\u6982\u59ff\u6001<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">\u60f3\u81ea\u7531\u53d1\u6325\u3001\u53ea\u53c2\u8003\u6784\u56fe<\/span><\/section>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">0.55\uff5e0.7\uff08\u5178\u578b 0.65\uff09<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">\u5e73\u8861\uff0c\u7a7a\u95f4\u4fdd\u4f4f\u53c8\u4e0d\u6b7b\u677f<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">\u4eba\u50cf\u6362\u88c5\/\u98ce\u683c\u8fc1\u79fb\u8d77\u624b<\/span><\/section>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">0.7\uff5e0.85<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">\u5f3a\u63a7\u5236\uff0c\u9ad8\u4e00\u81f4\u6027\u91cd\u7ed8<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">\u8981\u7cbe\u786e\u590d\u523b\u539f\u56fe\u7a7a\u95f4<\/span><\/section>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u9884\u5904\u7406\u5206\u8fa8\u7387\uff08resolution\uff09<\/strong>\u2014\u2014\u5f71\u54cd\u7ec6\u8282\u548c\u663e\u5b58\uff1a<br \/>\n512\uff1a\u663e\u5b58\u7d27\u65f6\u7528\uff0c\u901f\u5ea6\u5feb\u4f46\u6df1\u5ea6\u56fe\u7c97\u7cd9<br \/>\n768\uff1a\u5e73\u8861\u6863\uff0c\u5927\u591a\u6570\u60c5\u51b5\u591f\u7528<br \/>\n1024\uff1a\u9ad8\u7ec6\u8282\uff0c\u4f46\u5403\u663e\u5b58\uff0c4060 \u614e\u9009<\/p>\n<p><strong>\u4e94\u3001\u5e38\u89c1\u5751\uff08\u4e00\u6b21\u8bf4\u5168\uff09<\/strong><\/p>\n<p>1.\u00a0<strong>.pth \u9884\u5904\u7406\u6743\u91cd\u6f0f\u4e0b<\/strong>\u2014\u2014\u8282\u70b9\u80fd\u52a0\u3001\u4e00\u8dd1\u62a5\u6a21\u578b\u4e0d\u5b58\u5728\uff08\u5934\u53f7\u5751\uff0c\u56de\u7b2c\u4e8c\u8282\uff09\u3002<br \/>\n2.\u00a0<strong>\u6587\u4ef6\u540d\u4e0d\u5bf9<\/strong>\u2014\u2014depth_anything_v2_vitl.pth \u4e00\u4e2a\u5b57\u6bcd\u90fd\u4e0d\u80fd\u9519\uff0c\u653e\u9519\u6587\u4ef6\u5939\u4e5f\u627e\u4e0d\u5230\u3002<br \/>\n3.\u00a0<strong>strength \u8bbe 0<\/strong>\u2014\u2014\u7b49\u4e8e\u6ca1\u63a7\uff0c\u751f\u6210\u56fe\u548c\u53c2\u8003\u56fe\u6beb\u65e0\u5173\u7cfb\u3002<br \/>\n4.\u00a0<strong>\u7528 Canny \u53bb\u6362\u88c5<\/strong>\u2014\u2014\u8fb9\u7ebf\u710a\u6b7b\uff0c\u98ce\u683c\u6539\u5f97\u751f\u786c\uff1b\u6362\u76ae\u4e0d\u6362\u9aa8\u8bf7\u6539 Depth\u3002<br \/>\n5.\u00a0<strong>\u53e0\u591a\u4e2a ControlNet \u4e0d\u770b\u663e\u5b58<\/strong>\u2014\u2014Depth + OpenPose \u540c\u65f6\u4e0a\uff0c4060 \u5efa\u8bae\u5206\u8fa8\u7387\u964d\u5230 768 \u4ee5\u4e0b\u3002<\/p>\n<p><strong>\u516d\u3001\u53c2\u6570\u901f\u67e5\u8868\uff08\u7167\u7740\u6284\uff09<\/strong><\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">\u573a\u666f<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">\u5e95\u6a21<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">strength<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">\u9884\u5904\u7406\u5206\u8fa8\u7387<\/span><\/section>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">\u4eba\u50cf\u6362\u88c5\/\u98ce\u683c\u8fc1\u79fb<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">SDXL<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">0.65<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">768<\/span><\/section>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">\u9ad8\u4e00\u81f4\u6027\u91cd\u7ed8<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">SD1.5<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">0.8<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">1024<\/span><\/section>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">\u501f\u59ff\u6001\u5f31\u63a7\u5236<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">\u4efb\u610f<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">0.45<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">512<\/span><\/section>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">Depth + OpenPose \u53cc\u63a7<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">SDXL<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">\u5404 0.6<\/span><\/section>\n<\/td>\n<td>\n<section data-nest-level=\"6\"><span data-nest-level=\"7\">512<\/span><\/section>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u4e03\u30014060 \/ 8G \u4e13\u9879 &amp; \u6211\u8e29\u7684\u5751<\/strong><\/p>\n<p>\u6280\u5de7\uff1aDepth \u9884\u5904\u7406\u672c\u8eab\u5403\u4e00\u70b9\u663e\u5b58\uff0c4060 \u4e0a\u00a0<strong>resolution \u7528 768 \u6700\u7a33<\/strong>\uff1b\u5982\u679c\u540c\u65f6\u53e0 OpenPose\uff0c\u4e24\u4e2a ControlNet \u7684\u5206\u8fa8\u7387\u90fd\u964d\u5230 512\uff0c\u663e\u5b58\u5360\u7528\u80fd\u538b\u4f4f\u3002\u6a21\u578b\u9009\u00a0<strong>fp16 \u7248<\/strong>\uff08_fp16 \u540e\u7f00\uff09\uff0c\u6bd4 fp32 \u7701\u4e00\u534a\u3002\u542f\u52a8\u52a0 &#8211;medvram \u66f4\u7a33\u3002<\/p>\n<p>\u4e94\u4e2a\u5751\u4e00\u6b21\u8bf4\u5168\uff1a\u2460 .pth \u6f0f\u4e0b\uff08\u5934\u53f7\uff09\uff1b\u2461 \u6587\u4ef6\u540d\/\u8def\u5f84\u9519\uff1b\u2462 strength \u8bbe 0 \u6ca1\u53cd\u5e94\uff1b\u2463 \u62ff Canny \u53bb\u6362\u88c5\u5bfc\u81f4\u8fb9\u7ebf\u710a\u6b7b\uff1b\u2464 \u53e0\u591a\u4e2a ControlNet \u4e0d\u964d\u5206\u8fa8\u7387\u76f4\u63a5 OOM\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Book 10 ComfyUI, from installation to mastery, ControlNet, three scenes (in your direction) you learned the ControlNet Three Brothers, and you know howstrength is screwed. But then I left a pit unfilled: which are the three? I've stepped on my own real experience: I've thought about changing a real photo to Sabbunk style, using Canny. As a result, the wrinkles and edges of the new clothes were \u201cwelded to death\u201d and the style changes were so hard that they were like filtration filters. And then I found out that I was going to change the skin<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[149,144],"tags":[1989,6276,4749],"collection":[],"class_list":["post-55803","post","type-post","status-publish","format-standard","hentry","category-jiaocheng","category-baike","tag-comfyui"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/55803","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/comments?post=55803"}],"version-history":[{"count":0,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/55803\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/media?parent=55803"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/categories?post=55803"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/tags?post=55803"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/collection?post=55803"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}