{"id":2195,"date":"2021-01-24T23:43:51","date_gmt":"2021-01-24T15:43:51","guid":{"rendered":"https:\/\/www.yumefx.com\/?p=2195"},"modified":"2021-01-29T11:26:03","modified_gmt":"2021-01-29T03:26:03","slug":"ai%e6%8d%a2%e8%84%b8%e4%b9%8bdeepfacelab","status":"publish","type":"post","link":"https:\/\/www.yumefx.com\/?p=2195","title":{"rendered":"AI\u6362\u8138\u4e4bDeepFaceLab"},"content":{"rendered":"\n<h1 style=\"text-align: center;\">\u524d\u8a00<\/h1>\n<p>Deepfakes\u662f\u4e00\u79cd\u5229\u7528\u673a\u5668\u5b66\u4e60\u4e2d\u7684\u6df1\u5ea6\u5b66\u4e60\u5b9e\u73b0AI\u89c6\u9891\u6362\u8138\u7684\u6280\u672f\u3002\u8fd9\u79cd\u6280\u672f\u5728\u7279\u5b9a\u7684\u573a\u5408\u4e0b\u53ef\u4ee5\u505a\u51fa\u975e\u5e38\u903c\u771f\u81ea\u7136\u7684\u6362\u8138\u89c6\u9891\u3002\u800cDeepFaceLab\u662f\u4f17\u591a\u8f6f\u4ef6\u4e2d\uff0c\u5b89\u88c5\u6700\u7b80\u5355\uff0c\u4f7f\u7528\u6700\u65b9\u4fbf\uff0c\u66f4\u65b0\u6700\u5feb\u7684\u4e00\u6b3e\u8f6f\u4ef6\u3002<\/p>\n<p>DeepFaceLab\u7531iperov\u5f00\u6e90\u5728<a href=\"https:\/\/github.com\/iperov\/DeepFaceLab\">github<\/a>\uff0c \u53ef\u76f4\u63a5\u627e\u5230Releases\u5904\u7684\u4e0b\u8f7d\u94fe\u63a5\u4e0b\u8f7d\u5bf9\u5e94\u7cfb\u7edf\u76847Z\u81ea\u89e3\u538b\u5305\uff0c\u4e0b\u8f7d\u5b8c\u6210\u540e\u89e3\u538b\u5373\u53ef\u4f7f\u7528\u3002<\/p>\n<p>DeepFaceLab\u6709\u4ee5\u4e0b\u7279\u70b9\uff1a<\/p>\n<ul>\n<li>\u5b89\u88c5\u65b9\u4fbf\uff0c\u53ea\u9700\u5b89\u88c5\u6700\u65b0\u7248\u672c\u7684\u663e\u5361\u9a71\u52a8\u5373\u53ef\u4f7f\u7528\uff0c\u65e0\u9700\u989d\u5916\u5b89\u88c5python\u548c\u7b2c\u4e09\u65b9\u5e93\uff0cDeepFaceLab\u5747\u5df2\u5185\u7f6e\u5e76\u81ea\u52a8\u8c03\u7528\u3002<\/li>\n<li>\u5c3d\u91cf\u4f7f\u7528Win10\u7cfb\u7edf\u5e76\u66f4\u65b0\u7cfb\u7edf\u8865\u4e01\uff0c\u65b9\u4fbf\u4f7f\u7528\u66f4\u65b0\u7684CUDA\u7248\u672c\u7b49\u529f\u80fd\u3002<\/li>\n<li>\u6700\u65b0\u7684DeepFaceLab2\u7248\u672c\u53bb\u9664\u4e86AMD\u663e\u5361\u7684\u652f\u6301\uff0c\u56e0\u6b64A\u5361\u53ea\u80fd\u4f7f\u7528DeepFaceLab1\u7248\u672c\u3002<\/li>\n<li>\u76ee\u524d\u5df2\u7ecf\u652f\u6301\u591a\u5f20\u663e\u5361\u8c03\u7528\uff0c\u5e94\u5c3d\u91cf\u4f7f\u7528\u6027\u80fd\u8f83\u9ad8\u7684NVIDIA\u663e\u5361\u4f8b\u5982RTX2070\u7b49\uff0c\u663e\u5361\u6027\u80fd\u8d8a\u5f3a\u5219\u8bad\u7ec3\u901f\u5ea6\u8d8a\u5feb\uff0c\u53ef\u4ee5\u8bad\u7ec3\u66f4\u9ad8\u7cbe\u5ea6\u7684\u6a21\u578b\u3002<\/li>\n<\/ul>\n<p>DeepFaceLab\u6587\u4ef6\u5939\u5185\u7684\u5185\u5bb9\u5982\u4e0b\uff1a<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-2197 aligncenter\" src=\"http:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_01.jpg\" alt=\"\" width=\"853\" height=\"1166\" srcset=\"https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_01.jpg 853w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_01-219x300.jpg 219w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_01-749x1024.jpg 749w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_01-768x1050.jpg 768w\" sizes=\"(max-width: 853px) 100vw, 853px\" \/><\/p>\n<p>_internal\u6587\u4ef6\u5939\u5185\u4e3aDeepFaceLab\u7684\u8fd0\u884c\u73af\u5883\u3001py\u811a\u672c\u3001\u8d44\u6e90\u6587\u4ef6\u7b49\uff0cworkspace\u6587\u4ef6\u5939\u5185\u5219\u4e3a\u5de5\u4f5c\u73af\u5883\uff0c\u53ef\u5c06AI\u6362\u8138\u7684\u7d20\u6750\u653e\u8fdb\u91cc\u9762\u3002\u4e0b\u65b9\u7684\u591a\u4e2abat\u6587\u4ef6\u5219\u662f\u5bf9\u5e94\u4e0d\u540c\u529f\u80fd\u7684\u547d\u4ee4\u811a\u672c\uff0c\u53ef\u6839\u636e\u64cd\u4f5c\u6b65\u9aa4\u76f4\u63a5\u53cc\u51fb\u8fd0\u884c\u3002<\/p>\n<p>DeepFaceLab\u4f7f\u7528\u6d41\u7a0b\u4e3b\u8981\u6709\u4ee5\u4e0b\u51e0\u6b65\uff1a<\/p>\n<ol>\n<li>\u51c6\u5907\u6e90\u7d20\u6750\uff08src\uff09\u4e0e\u76ee\u6807\u7d20\u6750\uff08dst\uff09<\/li>\n<li>\u63d0\u53d6\u6e90\u7d20\u6750\uff08src\uff09\u4e0e\u76ee\u6807\u7d20\u6750\uff08dst\uff09\u7684\u8138\u90e8<\/li>\n<li>\u8bad\u7ec3\u8138\u90e8\u906e\u7f69\uff08\u53ef\u9009\uff09<\/li>\n<li>\u5f00\u59cb\u8bad\u7ec3\u6a21\u578b<\/li>\n<li>\u901a\u8fc7\u8bad\u7ec3\u597d\u7684\u6a21\u578b\u6362\u8138\u8f93\u51fa<\/li>\n<\/ol>\n<p>\u4e0b\u9762\u8fdb\u884c\u6bcf\u4e00\u6b65\u7684\u8be6\u7ec6\u4ecb\u7ecd\u3002<\/p>\n<h1>\u00a0<\/h1>\n<h1 style=\"text-align: center;\">\u51c6\u5907\u6e90\u7d20\u6750\u4e0e\u76ee\u6807\u7d20\u6750<\/h1>\n<p>\u5bf9\u4e8eAI\u6362\u8138\u6765\u8bf4\uff0c\u6e90\u7d20\u6750\u7684\u8d28\u91cf\u662f\u6781\u4e3a\u91cd\u8981\u7684\uff0c\u56e0\u4e3a\u8981\u901a\u8fc7\u8ba1\u7b97\u5c06\u6e90\u7d20\u6750\u7684\u8138\u5339\u914d\u5230\u76ee\u6807\u7d20\u6750\u4e0a\uff0c\u6240\u4ee5\u6e90\u7d20\u6750\u8138\u90e8\u8d8a\u6e05\u6670\u3001\u4e0d\u540c\u89d2\u5ea6\u548c\u4e0d\u540c\u8868\u60c5\u7684\u7d20\u6750\u8d8a\u591a\u3001\u8138\u90e8\u5149\u5f71\u5bf9\u6bd4\u4e0d\u5927\uff0c\u5219\u8bad\u7ec3\u51fa\u7684\u6a21\u578b\u8d8a\u7cbe\u51c6\uff0c\u80fd\u591f\u66f4\u597d\u5730\u5339\u914d\u76ee\u6807\u7d20\u6750\u3002<\/p>\n<p>\u6240\u4ee5\u6e90\u7d20\u6750\u5c3d\u91cf\u5bfb\u627e\u4e00\u4e9b\u8fd1\u666f\u7279\u5199\u955c\u5934\u548c\u91c7\u8bbf\u89c6\u9891\u7b49\uff0c\u8138\u90e8\u6e05\u6670\u5ea6\u5c3d\u91cf\u5728500\u50cf\u7d20\u4ee5\u4e0a\u3002<\/p>\n<p>\u4ee5\u4e0b\u662fworkspace\u6587\u4ef6\u5939\u5185\u7684\u5185\u5bb9\uff0cdata_src.mp4\u4e3a\u6e90\u7d20\u6750\uff0cdata_dst.mp4\u4e3a\u76ee\u6807\u7d20\u6750\uff0c\u800c\u540c\u540d\u6587\u4ef6\u5939\u7528\u4e8e\u5b58\u653e\u5bf9\u5e94\u7684\u7d20\u6750\u56fe\u7247\u5e8f\u5217\uff0cmodel\u6587\u4ef6\u5939\u5219\u7528\u4e8e\u5b58\u653e\u8bad\u7ec3\u51fa\u7684\u6a21\u578b\u3002<\/p>\n<p>\u56fe\u4e2d\u7684\u4e24\u4e2a\u89c6\u9891\u662fDeepFaceLab\u81ea\u5e26\u7684\u6848\u4f8b\uff0c\u5982\u679c\u81ea\u884c\u51c6\u5907\u4e86\u5176\u4ed6\u7d20\u6750\u53ef\u76f4\u63a5\u6539\u6210\u6b64\u540d\u5b57\u4f7f\u7528\u3002<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-2198 aligncenter\" src=\"http:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_02.jpg\" alt=\"\" width=\"899\" height=\"319\" srcset=\"https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_02.jpg 899w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_02-300x106.jpg 300w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_02-768x273.jpg 768w\" sizes=\"(max-width: 899px) 100vw, 899px\" \/><\/p>\n<p>\u9996\u5148\u8981\u5c06\u89c6\u9891\u63d0\u53d6\u4e3a\u56fe\u7247\u5e8f\u5217\uff0c\u4f9d\u6b21\u70b9\u51fb\u6267\u884cDeepFaceLab\u6839\u76ee\u5f55\u4e0b\u7684<code>2) extract images from video data_src.bat<\/code>\u548c<code>3) extract images from video data_dst FULL FPS.bat<\/code>\u8fd9\u4e24\u4e2abat\u811a\u672c\u3002<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-2220 aligncenter\" src=\"http:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_03.jpg\" alt=\"\" width=\"702\" height=\"537\" srcset=\"https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_03.jpg 702w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_03-300x229.jpg 300w\" sizes=\"(max-width: 702px) 100vw, 702px\" \/><\/p>\n<p>\u5efa\u8bae\u5c06\u89c6\u9891\u9ed8\u8ba4\u63d0\u53d6\u4e3apng\u683c\u5f0f\uff0c\u56fe\u7247\u8d28\u91cf\u66f4\u9ad8\u3002<\/p>\n<p>\u63d0\u53d6\u6e90\u7d20\u6750\u7684\u56fe\u7247\u5e8f\u5217\u65f6\u53ef\u4ee5\u9009\u62e9FPS\uff0c\u5bf9\u4e8e\u8f83\u957f\u7684\u89c6\u9891\u7d20\u6750\u53ef\u4ee5\u9002\u5f53\u964d\u4f4e\uff0c\u4f8b\u5982\u6bcf\u79d2\u949f\u89c6\u9891\u63d0\u53d65\u5f20\u621610\u5f20\u56fe\u7247\uff0c\u907f\u514d\u7d20\u6750\u56fe\u7247\u592a\u591a\u8ba1\u7b97\u7f13\u6162\uff0c\u4fdd\u8bc1\u6700\u540e\u7684\u7d20\u6750\u56fe\u7247\u6570\u91cf\u57281000~10000\u5f20\u5de6\u53f3\u5373\u53ef\u3002<\/p>\n<h1>\u00a0<\/h1>\n<h1 style=\"text-align: center;\">\u4ece\u56fe\u7247\u7d20\u6750\u4e2d\u63d0\u53d6\u4eba\u8138<\/h1>\n<p>\u4e3a\u4e86\u4fbf\u4e8e\u8bad\u7ec3\uff0c\u9700\u8981\u5c06\u56fe\u7247\u7d20\u6750\u4e2d\u7684\u8138\u90e8\u88c1\u5207\u51fa\u6765\uff0c\u8c03\u6574\u4e3a\u7edf\u4e00\u7684\u5927\u5c0f\uff0c\u6b6a\u659c\u7684\u8138\u90e8\u89d2\u5ea6\u4e5f\u5f97\u8f6c\u6b63\u3002<\/p>\n<p>\u4f9d\u6b21\u70b9\u51fb\u6267\u884cDeepFaceLab\u6839\u76ee\u5f55\u4e0b\u7684<code>4) data_src faceset extract.bat<\/code>\u548c<code>5) data_dst faceset extract.bat<\/code>\u8fd9\u4e24\u4e2abat\u811a\u672c\u3002<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-2200 aligncenter\" src=\"http:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_04.jpg\" alt=\"\" width=\"687\" height=\"502\" srcset=\"https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_04.jpg 687w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_04-300x219.jpg 300w\" sizes=\"(max-width: 687px) 100vw, 687px\" \/><\/p>\n<p>\u63d0\u53d6\u4eba\u8138\u65f6\u6709Face type\u9009\u9879\uff0c\u53ef\u4ee5\u9009\u62e9f\u3001wf\u3001head\u4e09\u79cd\uff0c\u8138\u90e8\u622a\u53d6\u8303\u56f4\u9010\u6e10\u589e\u5927\u3002<\/p>\n<p>\u6267\u884c\u5b8c\u6bd5\u540e\uff0c\u4f1a\u5728\u5bf9\u5e94\u7684data_src\u548cdata_dst\u6587\u4ef6\u5939\u5185\uff0c\u751f\u6210\u4e00\u4e2aaligned\u6587\u4ef6\u5939\uff0c\u5185\u90e8\u5b58\u653e\u7684\u5c31\u662f\u4ece\u56fe\u7247\u7d20\u6750\u4e2d\u63d0\u53d6\u51fa\u7684\u8138\u90e8\u3002<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-2206 aligncenter\" src=\"http:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepface_01.jpg\" alt=\"\" width=\"1181\" height=\"780\" srcset=\"https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepface_01.jpg 1181w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepface_01-300x198.jpg 300w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepface_01-1024x676.jpg 1024w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepface_01-768x507.jpg 768w\" sizes=\"(max-width: 1181px) 100vw, 1181px\" \/><\/p>\n<h3>\u00a0<\/h3>\n<h3>\u8138\u90e8\u63d0\u53d6\u6ce8\u610f<\/h3>\n<p>\u666e\u901a\u63d0\u53d6\u50cf\u4e0a\u9762\u8fd9\u6837\u64cd\u4f5c\u5373\u53ef\uff0c\u5982\u679c\u89c6\u9891\u7d20\u6750\u4e2d\u6709\u591a\u4e2a\u4eba\u8138\uff0c\u9ed8\u8ba4\u4f1a\u5168\u90e8\u63d0\u53d6\u51fa\u6765\u653e\u8fdbaligned\u6587\u4ef6\u5939\u4e2d\uff0c\u540c\u4e00\u56fe\u7247\u4e0d\u540c\u7684\u8138\u4ee5\u56fe\u7247\u540d\u5b57\u540e\u7f00\u533a\u5206\u3002<\/p>\n<p>\u5982\u679c\u9700\u8981\u9650\u5236\u63d0\u53d6\u8138\u90e8\u7684\u6570\u91cf\uff0c\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u811a\u672c\u4e2d\u7684Max number of faces from image\u8fd9\u4e00\u53c2\u6570\uff0c\u8bbe\u7f6e\u6700\u5927\u63d0\u53d6\u8138\u6570\u3002<\/p>\n<p>\u5982\u679c\u5df2\u7ecf\u63d0\u53d6\u5b8c\u540e\u518d\u60f3\u5220\u9664\uff0c\u53ef\u4ee5\u624b\u52a8\u5220\u9664aligned\u6587\u4ef6\u5939\u4e2d\u7684\u4eba\u8138\u56fe\u7247\u3002\u5982\u679c\u4eba\u8138\u56fe\u7247\u6df7\u6742\u5728\u4e86\u4e00\u8d77\uff0c\u53ef\u4ee5\u901a\u8fc7DeepFaceLab\u6839\u76ee\u5f55\u4e0b\u7684<code>4.2) data_src sort.bat<\/code>\u548c<code>5.2) data_dst sort.bat<\/code>\u5c06\u63d0\u53d6\u51fa\u7684\u4eba\u8138\u6309\u7167\u8138\u90e8\u5927\u5c0f\u3001\u76f8\u4f3c\u5ea6\u7b49\u8fdb\u884c\u6392\u5e8f\uff0c\u7136\u540e\u518d\u624b\u52a8\u5220\u9664\u3002<\/p>\n<p>\u7528\u4e8e\u8bad\u7ec3\u6a21\u578b\u7684\u6e90\u7d20\u6750\u56fe\u7247\u8138\u90e8\u9700\u8981\u5c3d\u91cf\u6e05\u6670\uff0c\u4e00\u4e9b\u56e0\u8138\u90e8\u50cf\u7d20\u4f4e\u5bfc\u81f4\u7684\u6a21\u7cca\u3001\u8138\u90e8\u79fb\u52a8\u5bfc\u81f4\u7684\u6a21\u7cca\u7d20\u6750\u8138\u90e8\uff0c\u9700\u8981\u5220\u9664\u6389\uff0c\u8bad\u7ec3\u51fa\u7684\u6a21\u578b\u624d\u80fd\u66f4\u6e05\u6670\u3002\u540c\u6837\u53ef\u4ee5\u901a\u8fc7<code>4.2) data_src sort.bat<\/code>\u5c06\u63d0\u53d6\u51fa\u7684\u4eba\u8138\u6309\u7167\u6a21\u7cca\u5ea6\u3001\u8fd0\u52a8\u6a21\u7cca\u5ea6\u7b49\u8fdb\u884c\u6392\u5e8f\uff0c\u518d\u624b\u52a8\u5220\u9664\u3002<\/p>\n<h3>\u00a0<\/h3>\n<h3>\u624b\u52a8\u63d0\u53d6\u9519\u8bef\u8138\u90e8<\/h3>\n<p>\u7528\u4e8e\u6700\u540e\u5408\u6210\u7684\u76ee\u6807\u7d20\u6750\u6709\u65f6\u4f1a\u6709\u4fa7\u8138\u89d2\u5ea6\u8fc7\u5927\u3001\u90e8\u5206\u906e\u6321\uff08\u4f8b\u5982\u56fe\u7247\u8fb9\u7f18\u9732\u51fa\u534a\u5f20\u8138\uff09\u6216\u8005\u4e0e\u80cc\u666f\u878d\u5408\u7b49\u95ee\u9898\uff0c\u8fd9\u65f6\u5f80\u5f80\u4f1a\u5bfc\u81f4\u81ea\u52a8\u63d0\u53d6\u8138\u90e8\u9519\u8bef\u6216\u8005\u504f\u79fb\u3002<\/p>\n<p>\u8fd9\u79cd\u65f6\u5019\u53ef\u4ee5\u5230data_dst\u6587\u4ef6\u5939\u4e2d\u7684aligned_debug\u6587\u4ef6\u5939\u4e2d\u627e\u5230\u4eba\u8138\u5b9a\u4f4d\u9519\u8bef\u7684\u56fe\u7247\uff0c\u624b\u52a8\u5220\u9664\u3002<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-2209 aligncenter\" src=\"http:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepface_02.jpg\" alt=\"\" width=\"1191\" height=\"762\" srcset=\"https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepface_02.jpg 1191w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepface_02-300x192.jpg 300w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepface_02-1024x655.jpg 1024w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepface_02-768x491.jpg 768w\" sizes=\"(max-width: 1191px) 100vw, 1191px\" \/><\/p>\n<p>\u7136\u540e\u8fd0\u884cDeepFaceLab\u6839\u76ee\u5f55\u4e0b\u7684<code>5) data_dst faceset MANUAL RE-EXTRACT DELETED ALIGNED_DEBUG.bat<\/code>\u811a\u672c\uff0c\u5728\u5f39\u51fa\u7684\u7a97\u53e3\u4e2d\u901a\u8fc7\u9f20\u6807\u70b9\u51fb\u624b\u52a8\u8bbe\u7f6e\u4eba\u8138\u7684\u5b9a\u4f4d\uff0c\u8bbe\u7f6e\u597d\u540e\u70b9\u51fb\u56de\u8f66\u5373\u53ef\u4fee\u590d\u5f53\u524d\u7d20\u6750\u56fe\u7247\u7684\u8138\u90e8\u63d0\u53d6\u3002<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-2208 aligncenter\" src=\"http:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepface_03.jpg\" alt=\"\" width=\"1376\" height=\"619\" srcset=\"https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepface_03.jpg 1376w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepface_03-300x135.jpg 300w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepface_03-1024x461.jpg 1024w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepface_03-768x345.jpg 768w\" sizes=\"(max-width: 1376px) 100vw, 1376px\" \/><\/p>\n<h1>\u00a0<\/h1>\n<h1 style=\"text-align: center;\">\u8bad\u7ec3\u8138\u90e8\u906e\u7f69<\/h1>\n<p>\u5bf9\u4e8e\u666e\u901a\u7684\u6e90\u7d20\u6750\u548c\u76ee\u6807\u7d20\u6750\u8fd9\u4e00\u6b65\u53ef\u4ee5\u7565\u8fc7\u3002<\/p>\n<p>\u4f46\u5bf9\u4e8e\u4e00\u4e9b\u7279\u6b8a\u7684\u60c5\u51b5\u4f8b\u5982\u76ee\u6807\u8138\u90e8\u6709\u906e\u6321\uff08\u4f8b\u5982\u58a8\u955c\u3001\u534a\u9762\u7f69\u7b49\uff09\u6216\u8005\u60f3\u8981\u4fdd\u7559\u76ee\u6807\u8138\u90e8\u7684\u67d0\u4e9b\u7279\u5f81\uff08\u4f8b\u5982\u989d\u5934\u3001\u773c\u775b\u3001\u6591\u75e3\u7b49\uff09\u65f6\uff0c\u9ed8\u8ba4\u7684\u6362\u8138\u4f1a\u5bfc\u81f4\u6e90\u7d20\u6750\u7684\u8138\u548c\u76ee\u6807\u7684\u8138\u90e8\u4e0d\u80fd\u5339\u914d\uff0c\u6b64\u65f6\u5c31\u9700\u8981\u8bad\u7ec3\u906e\u7f69\u3002<\/p>\n<p>\u6240\u8c13\u906e\u7f69\u5c31\u662f\u8bad\u7ec3\u4e00\u4e2a\u53ef\u8ddf\u968f\u8138\u90e8\u8fd0\u52a8\u7684\u52a8\u6001\u8303\u56f4\uff0c\u6b64\u8303\u56f4\u5185\u7684\u8138\u90e8\u6b63\u5e38\u66ff\u6362\uff0c\u8303\u56f4\u5916\u5219\u4e0d\u505a\u66ff\u6362\u3002<\/p>\n<p>\u8bad\u7ec3\u524d\u9700\u8981\u5148\u4f9d\u6b21\u8fd0\u884cDeepFaceLab\u6839\u76ee\u5f55\u4e0b\u7684<code>5.XSeg) data_dst mask - edit.bat<\/code>\u548c<code>5.XSeg) data_src mask - edit.bat<\/code>\u811a\u672c\uff0c\u6253\u5f00XSeg\u7f16\u8f91\u7a97\u53e3\u7ed8\u5236\u95ed\u5408\u66f2\u7ebf\u906e\u7f69\u3002<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-2232 aligncenter\" src=\"http:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_26.jpg\" alt=\"\" width=\"1497\" height=\"926\" srcset=\"https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_26.jpg 1497w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_26-300x186.jpg 300w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_26-1024x633.jpg 1024w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_26-768x475.jpg 768w\" sizes=\"(max-width: 1497px) 100vw, 1497px\" \/><\/p>\n<p>\u7ed8\u753b\u754c\u9762\u5982\u4e0a\u56fe\u6240\u793a\uff0c\u5b9e\u7ebf\u5185\u662f\u6362\u8138\u7684\u533a\u57df\uff0c\u865a\u7ebf\u5185\u662f\u76ee\u6807\u7d20\u6750\u4fdd\u7559\u7684\u533a\u57df\u3002\u7ed8\u5236\u5b8c\u5f53\u524d\u8138\u90e8\u56fe\u7247\u540e\u5728\u4e0b\u65b9\u5207\u6362\u540e\u9762\u5176\u4ed6\u56fe\u7247\uff0c\u5bfb\u627e\u8138\u90e8\u59ff\u52bf\u5dee\u522b\u8f83\u5927\u7684\u51e0\u5f20\u56fe\u7247\u8fdb\u884c\u7ed8\u5236\u5373\u53ef\u3002<\/p>\n<p>\u7ed8\u5236\u5b8c\u906e\u7f69\u540e\uff0c\u8fd0\u884cDeepFaceLab\u6839\u76ee\u5f55\u4e0b\u7684<code>5.XSeg) train.bat<\/code>\u5f00\u59cb\u8bad\u7ec3\uff0c\u5e76\u4f7f\u7528\u7a7a\u683c\uff08\u5207\u6362\u9884\u89c8\u7d20\u6750\uff09\u548cp\u952e\uff08\u5237\u65b0\u9884\u89c8\uff09\u89c2\u5bdf\u5f39\u51fa\u7684\u9884\u89c8\u7a97\u53e3\u4e2d\u7684\u906e\u7f69\u8bad\u7ec3\u6548\u679c\u3002<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-2233 aligncenter\" src=\"http:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_27.jpg\" alt=\"\" width=\"872\" height=\"978\" srcset=\"https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_27.jpg 872w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_27-267x300.jpg 267w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_27-768x861.jpg 768w\" sizes=\"(max-width: 872px) 100vw, 872px\" \/><\/p>\n<p>\u5728\u906e\u7f69\u8bad\u7ec3\u5dee\u4e0d\u591a\u540e\uff0c\u6309\u56de\u8f66\u5373\u53ef\u4fdd\u5b58\u906e\u7f69\u6a21\u578b\u505c\u6b62\u8bad\u7ec3\u3002\u6b64\u65f6\u53ef\u4ee5\u8fd0\u884cDeepFaceLab\u6839\u76ee\u5f55\u4e0b\u7684<code>5.XSeg) data_dst trained mask - apply.bat<\/code>\u548c<code>5.XSeg) data_src trained mask - apply.bat<\/code>\u811a\u672c\uff0c\u5c06\u8bad\u7ec3\u51fa\u7684\u906e\u7f69\u5199\u5165\u7d20\u6750\u4eba\u8138\u56fe\u7247\u4e2d\u3002<\/p>\n<p>\u7136\u540e\u53ef\u4ee5\u518d\u6253\u5f00XSeg\u7f16\u8f91\u7a97\u53e3\uff0c\u901a\u8fc7\u7a97\u53e3\u53f3\u4fa7\u6700\u4e0b\u9762\u7684\u906e\u7f69\u663e\u793a\u6309\u94ae\u67e5\u770b\u6bcf\u4e00\u5f20\u56fe\u7247\u7684\u906e\u7f69\u8303\u56f4\u662f\u5426\u6b63\u786e\uff0c\u5982\u679c\u6709\u9519\u8bef\u7684\u53ef\u4ee5\u518d\u624b\u52a8\u753b\u906e\u7f69\uff0c\u753b\u5b8c\u91cd\u590d\u8bad\u7ec3\u76f4\u5230\u5f97\u5230\u4e00\u4e2a\u6ee1\u610f\u7684\u6548\u679c\u3002<\/p>\n<h1>\u00a0<\/h1>\n<h1 style=\"text-align: center;\">\u5f00\u59cb\u8bad\u7ec3\u6a21\u578b<\/h1>\n<p>\u51c6\u5907\u597d\u4eba\u8138\u540e\u5c31\u53ef\u4ee5\u76f4\u63a5\u8fd0\u884cDeepFaceLab\u6839\u76ee\u5f55\u4e0b\u7684\u8bad\u7ec3\u811a\u672c\uff0c\u6839\u636e\u81ea\u8eab\u663e\u5361\u6027\u80fd\uff0c\u663e\u5361\u6027\u80fd\u8f83\u4f4e\u5219\u8fd0\u884c<code>6) train Quick96.bat<\/code>\uff0c\u6027\u80fd\u8db3\u591f\u5219\u8fd0\u884c<code>6) train SAEHD.bat<\/code>\u3002<\/p>\n<p>\u524d\u8005\u7684Quick96\u6a21\u578b\u53ea\u80fd\u8bad\u7ec396&#215;96\u50cf\u7d20\u5927\u5c0f\u7684\u4eba\u8138\u6a21\u578b\uff0c\u5e76\u4e14\u65e0\u6cd5\u8bbe\u7f6e\u9ad8\u7ea7\u7684\u81ea\u5b9a\u4e49\u53c2\u6570\uff0c\u663e\u5361\u7684\u663e\u5b58\u53ea\u67092G+\u65f6\u53ef\u4ee5\u4f7f\u7528\uff1b\u800c\u540e\u8005SAEHD\u6a21\u578b\u5219\u6709\u975e\u5e38\u591a\u53ef\u81ea\u5b9a\u4e49\u7684\u53c2\u6570\uff0c\u5e76\u6700\u5927\u652f\u6301640&#215;640\u50cf\u7d20\u5927\u5c0f\u7684\u4eba\u8138\u6a21\u578b\u3002<\/p>\n<p>\u4e0b\u9762\u4ee5SAEHD\u6a21\u578b\u8fdb\u884c\u8bf4\u660e\uff0c\u8fd0\u884c<code>6) train SAEHD.bat<\/code>\u811a\u672c\u540e\u9700\u8981\u8bbe\u7f6e\u5f88\u591a\u8bad\u7ec3\u53c2\u6570\uff0c\u5982\u56fe\u6240\u793a\u3002<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-2222 aligncenter\" src=\"http:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_24.jpg\" alt=\"\" width=\"677\" height=\"1178\" srcset=\"https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_24.jpg 677w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_24-172x300.jpg 172w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_24-588x1024.jpg 588w\" sizes=\"(max-width: 677px) 100vw, 677px\" \/><\/p>\n<p>\u6bd4\u8f83\u5e38\u7528\u7684\u6709\u4ee5\u4e0b\u53c2\u6570\uff1a<\/p>\n<p><strong>Autobackup every N hour<\/strong>\uff1a\u6bcf\u9694N\u5c0f\u65f6\u5bf9\u6a21\u578b\u8fdb\u884c\u5907\u4efd\uff0c\u9632\u6b62\u610f\u5916\u635f\u574f\u3002<\/p>\n<p><strong>Target iteration<\/strong>\uff1a\u8bad\u7ec3\u8fed\u4ee3\u6b21\u6570\uff0c\u9ed8\u8ba40\u5373\u4e00\u76f4\u8bad\u7ec3\u76f4\u5230\u7528\u6237\u624b\u52a8\u505c\u6b62\u3002\u8bbe\u7f6e\u5177\u4f53\u503c\u540e\u5219\u8fed\u4ee3\u6570\u91cf\u6253\u5012\u540e\u81ea\u52a8\u4fdd\u5b58\u9000\u51fa\u3002<\/p>\n<p><strong>Flip faces randomly<\/strong>\uff1a\u968f\u673a\u7ffb\u8f6c\u8138\u90e8\uff0c\u5f53\u7d20\u6750\u7f3a\u5c11\u8138\u90e8\u67d0\u4e00\u4fa7\u7d20\u6750\u65f6\u53ef\u4ee5\u5f00\u542f\uff0c\u901a\u8fc7\u8138\u90e8\u53e6\u4e00\u4fa7\u6c34\u5e73\u7ffb\u8f6c\u8865\u5168\u8fd9\u4e00\u4fa7\u7d20\u6750\uff0c\u4f46\u5f53\u7d20\u6750\u4e24\u4fa7\u8138\u90e8\u6709\u660e\u663e\u533a\u522b\u65f6\u5e94\u8be5\u5173\u95ed\u8fd9\u4e00\u9009\u9879\u3002<\/p>\n<p><strong>Batch_size<\/strong>\uff1a\u4e00\u6b21\u8fed\u4ee3\u8bad\u7ec3\u6240\u9009\u53d6\u7684\u6837\u672c\u6570\uff0c\u53ef\u53d6\u503c\u4e3a2\u7684n\u6b21\u65b9\uff0c\u53c2\u6570\u8d8a\u9ad8\uff0c\u6d88\u8017\u8d8a\u591a\u663e\u5b58\uff0c\u5355\u6b21\u8fed\u4ee3\u65f6\u95f4\u8d8a\u957f\uff0c\u76f8\u540c\u8fed\u4ee3\u6b21\u6570\u4e0b\u6548\u679c\u8d8a\u597d\u3002\u4f46\u53c2\u6570\u8fc7\u9ad8\u65f6\u53ef\u80fd\u5bfc\u81f4\u8bad\u7ec3\u65f6\u5361\u4f4f\uff0c\u56e0\u6b64\u9700\u81ea\u884c\u6d4b\u8bd5\u9002\u5408\u81ea\u5df1\u786c\u4ef6\u7684\u6570\u503c\u3002<\/p>\n<p><strong>Resolution<\/strong>\uff1a\u6362\u8138\u6a21\u578b\u50cf\u7d20\u5927\u5c0f\uff0c\u6700\u5927\u652f\u6301640*640\u50cf\u7d20\uff0c\u6570\u503c\u8d8a\u5927\uff0c\u6d88\u8017\u8d8a\u591a\u663e\u5b58\uff0c\u5355\u6b21\u8fed\u4ee3\u65f6\u95f4\u8d8a\u957f\uff0c\u6700\u7ec8\u5f97\u5230\u7684\u8138\u90e8\u7d20\u6750\u8d8a\u6e05\u6670\u3002\u6839\u636e\u81ea\u5df1\u9700\u6c42\u548c\u663e\u5361\u6027\u80fd\u8bbe\u7f6e\u5408\u9002\u6570\u503c\u3002<\/p>\n<p><strong>Face type<\/strong>\uff1a\u53ef\u9009\u62e9h\uff08\u534a\u8138\uff09\u3001mf\uff08\u4e2d\u8138\uff09\u3001f\uff08\u5168\u8138\uff09\u3001wf\uff08\u6574\u8138\uff09\u3001head\uff08\u5168\u5934\uff09\uff0c\u6362\u8138\u6a21\u578b\u7684\u8303\u56f4\u4f9d\u6b21\u589e\u5927\uff0c\u6ce8\u610f\u4e0e\u63d0\u53d6\u8138\u90e8\u65f6\u7684Face type\u53c2\u6570\u76f8\u914d\u5408\u3002\u5176\u4e2d\u534a\u8138\u3001\u4e2d\u8138\u3001\u5168\u8138\u8303\u56f4\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-2204 aligncenter\" src=\"http:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_23.jpg\" alt=\"\" width=\"767\" height=\"360\" srcset=\"https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_23.jpg 767w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_23-300x141.jpg 300w\" sizes=\"(max-width: 767px) 100vw, 767px\" \/><\/p>\n<p>\u534a\u8138\u9002\u5e94\u6027\u6700\u5f3a\uff0c\u4f46\u662f\u6709\u65f6\u7709\u6bdb\u6362\u4e0d\u4e86\uff0c\u4e0b\u5df4\u6548\u679c\u8f83\u5dee\uff0c\u6bd4\u8f83\u9002\u5408\u5973\u6027\u6362\u8138\u3002<\/p>\n<p>\u4e2d\u8138\u7684\u9762\u79ef\u6bd4\u534a\u8138\u5927\u6982\u5927\u4e86\u4e00\u4e9b\uff0c\u56db\u89d2\u5f27\u5ea6\u6bd4\u8f83\u5706\uff0c\u7709\u6bdb\u4e5f\u80fd\u88ab\u5b8c\u6574\u5305\u542b\u3002<\/p>\n<p>\u5168\u8138\u662f\u5305\u542b\u4e86\u5b8c\u6574\u7684\u8138\u988a\u548c\u4e0b\u5df4\uff0c\u9002\u5408\u5904\u7406\u6709\u80e1\u5b50\u7684\u7537\u6027\u8138\u90e8\u3002<\/p>\n<p>\u800c\u6574\u8138\u5219\u5305\u542b\u4e86\u66f4\u591a\u7684\u989d\u5934\u533a\u57df\uff0c\u53ef\u4ee5\u8f83\u597d\u7684\u5904\u7406\u989d\u5934\u7684\u76b1\u7eb9\u3002<\/p>\n<p>\u5168\u5934\u5219\u4f1a\u5305\u542b\u5934\u53d1\uff0c\u6700\u540e\u7684\u6548\u679c\u5df2\u7ecf\u4e0d\u662f\u6362\u8138\u800c\u662f\u6362\u5934\u3002<\/p>\n<p>\u4f46\u6362\u8138\u8303\u56f4\u8d8a\u5927\uff0c\u5bf9\u4e8e\u8138\u90e8\u7d20\u6750\u7684\u8d28\u91cf\u8981\u6c42\u8d8a\u9ad8\uff0c\u60f3\u8981\u8fbe\u5230\u6ee1\u610f\u7684\u6548\u679c\u9700\u8981\u66f4\u591a\u8fed\u4ee3\u6b21\u6570\uff0c\u5426\u5219\u53ef\u80fd\u5bfc\u81f4\u6362\u8138\u7ed3\u679c\u6a21\u7cca\u4e0d\u6e05\u3001\u660e\u6697\u4e0d\u9f50\u3001\u8272\u5f69\u4e0d\u5747\u7b49\u3002<\/p>\n<p><strong>AE architecture<\/strong>\uff1a\u795e\u7ecf\u7f51\u7edc\u7684\u6a21\u578b\u7ed3\u6784\uff0c\u4e3b\u8981\u6709df\u548cliae\u4e24\u7c7b\uff0c\u5e26\u6709-ud\u540e\u7f00\u7684\u6548\u7387\u8f83\u9ad8\u63a8\u8350\u4f7f\u7528\u3002df\u6a21\u578b\u5728\u5339\u914d\u65f6\u4e0d\u4f7f\u4eba\u8138\u53d8\u5f62\uff0c\u8981\u6c42\u6e90\u7d20\u6750\u548c\u76ee\u6807\u7d20\u6750\u8138\u578b\u5c3d\u91cf\u76f8\u4f3c\uff0c\u8981\u6c42\u6e90\u7d20\u6750\u5177\u6709\u6240\u6709\u6240\u9700\u7684\u8138\u90e8\u89d2\u5ea6\uff0c\u5426\u5219\u5728\u4fa7\u9762\u8f6e\u5ed3\u4e0a\u53ef\u80fd\u4f1a\u4ea7\u751f\u8f83\u5dee\u7684\u7ed3\u679c\uff1bliae\u6a21\u578b\u5728\u5339\u914d\u65f6\u4f1a\u4f7f\u4eba\u8138\u53d8\u5f62\uff0c\u53ef\u4ee5\u66f4\u597d\u5730\u5904\u7406\u4fa7\u9762\u8f6e\u5ed3\uff0c\u5e76\u5177\u6709\u66f4\u597d\u7684\u989c\u8272\u5149\u7ebf\u5339\u914d\u5ea6\u3002<\/p>\n<p><strong>Masked training<\/strong>\uff1a\u5b8c\u6210\u4e86\u4e0a\u4e00\u6b65\u8bad\u7ec3\u906e\u7f69\u7684\u60c5\u51b5\u4e0b\u53ef\u4ee5\u5f00\u542f\uff0c\u53ea\u8bad\u7ec3\u906e\u7f69\u8303\u56f4\u5185\u7684\u8138\u90e8\u6a21\u578b\u3002<\/p>\n<p><strong>Enable pretraining mode<\/strong>\uff1a\u4f7f\u7528\u9884\u8bad\u7ec3\u6a21\u5f0f\u3002\u542f\u7528\u540e\u53ef\u4ee5\u901a\u8fc7\u5185\u7f6e\u9884\u8bad\u7ec3\u6570\u636e\u96c6\u8fdb\u884c\u9884\u8bad\u7ec3\uff0c\u8bad\u7ec3\u5230\u4e00\u5b9a\u7a0b\u5ea6\u518d\u4fee\u6539\u8bad\u7ec3\u53c2\u6570\u5173\u95ed\u9884\u8bad\u7ec3\u4f7f\u7528\u81ea\u5df1\u7684\u7d20\u6750\u8bad\u7ec3\uff0c\u5927\u591a\u6570\u60c5\u51b5\u4e0b\u80fd\u591f\u5f97\u5230\u66f4\u597d\u7684\u5339\u914d\u6548\u679c\u3002<\/p>\n<p>\u5176\u4ed6\u53c2\u6570\u8f83\u5c11\u4f7f\u7528\u53ef\u76f4\u63a5\u56de\u8f66\u4f7f\u7528\u9ed8\u8ba4\u6570\u503c\uff0c\u8bbe\u7f6e\u597d\u8bad\u7ec3\u53c2\u6570\u540e\u5c31\u8fdb\u5165\u8bad\u7ec3\u8ba1\u7b97\u4e86\uff0c\u4f1a\u5f39\u51fa\u4e0b\u56fe\u6240\u793a\u7684\u9884\u89c8\u7a97\u53e3\u3002<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-2221 aligncenter\" src=\"http:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_09.jpg\" alt=\"\" width=\"1333\" height=\"703\" srcset=\"https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_09.jpg 1333w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_09-300x158.jpg 300w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_09-1024x540.jpg 1024w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_09-768x405.jpg 768w\" sizes=\"(max-width: 1333px) 100vw, 1333px\" \/><\/p>\n<p>\u5728\u8bad\u7ec3\u65f6\u53ef\u4ee5\u4ece\u9884\u89c8\u7a97\u53e3\u4e2d\u67e5\u770b\u5f53\u524d\u6548\u679c\uff0c\u548c\u906e\u7f69\u8bad\u7ec3\u65f6\u540c\u6837\u7684\u64cd\u4f5c\u65b9\u5f0f\uff0cp\u952e\u5237\u65b0\u9884\u89c8\uff0cs\u952e\u4fdd\u5b58\u6a21\u578b\uff0c\u56de\u8f66\u4fdd\u5b58\u6a21\u578b\u5e76\u9000\u51fa\u3002<\/p>\n<p>\u8bad\u7ec3\u8fc7\u7a0b\u53ef\u4ee5\u968f\u65f6\u4e2d\u6b62\uff0c\u518d\u8fd0\u884c\u8bad\u7ec3\u811a\u672c\u5373\u53ef\u4ece\u4e2d\u65ad\u4f4d\u7f6e\u7ee7\u7eed\u8bad\u7ec3\uff0c\u8bad\u7ec3\u8fdb\u5ea6\u4e0d\u4f1a\u4e22\u5931\u3002\u7ee7\u7eed\u8bad\u7ec3\u65f6\u4f1a\u6709\u4e00\u4e2a\u9009\u9879\uff0c\u57282s\u5185\u6309\u4e0b\u56de\u8f66\u53ef\u4ee5\u4fee\u6539\u8bad\u7ec3\u53c2\u6570\u518d\u7ee7\u7eed\u8bad\u7ec3\uff0c2s\u5185\u4e0d\u8fdb\u884c\u64cd\u4f5c\u5219\u4ee5\u4e4b\u524d\u7684\u8bad\u7ec3\u53c2\u6570\u7ee7\u7eed\u8bad\u7ec3\u3002<\/p>\n<p>\u9884\u89c8\u7a97\u53e3\u6700\u4e0a\u65b9\u7684\u66f2\u7ebf\u5373\u4e3a\u547d\u4ee4\u884c\u7a97\u53e3\u6700\u540e\u4e00\u4e2a\u4e0d\u65ad\u53d8\u5316\u7684\u6570\u503c\u968f\u65f6\u95f4\u7684\u53d8\u5316\uff0c\u8be5\u6570\u503c\u79f0\u4e3aloss\u503c\uff0c\u4ee3\u8868\u4e86\u6a21\u578b\u4e0e\u76ee\u6807\u7d20\u6750\u8138\u90e8\u7684\u5dee\u5f02\u5ea6\uff0c\u4f1a\u968f\u7740\u8bad\u7ec3\u65f6\u95f4\u6162\u6162\u964d\u4f4e\uff0c\u5bf9\u5e94\u9884\u89c8\u56fe\u7684\u6162\u6162\u6e05\u6670\uff0c\u5927\u591a\u6570\u60c5\u51b5\u4e0b\u6570\u503c\u964d\u52300.01~0.02\u65f6\u5c31\u8db3\u591f\u4f7f\u7528\u4e86\u3002<\/p>\n<p>\u9884\u89c8\u7a97\u53e3\u4e2d\u7684Iter\u6570\u503c\u5219\u4ee3\u8868\u8fed\u4ee3\u6b21\u6570\uff0c\u540c\u6837\u7684\u8bad\u7ec3\u7d20\u6750\u548c\u53c2\u6570\u4e0b\uff0c\u8d8a\u591a\u7684\u8fed\u4ee3\u6b21\u6570\u4f1a\u82b1\u8d39\u8d8a\u591a\u65f6\u95f4\uff0closs\u503c\u8d8a\u5c0f\uff0c\u5f97\u5230\u7684\u8bad\u7ec3\u6a21\u578b\u6548\u679c\u8d8a\u597d\uff0c\u4f46\u968f\u7740\u8fed\u4ee3\u6b21\u6570\u8d85\u8fc7\u4e00\u5b9a\u8303\u56f4\u540e\uff0closs\u503c\u5f88\u96be\u518d\u964d\u4f4e\uff0c\u8bad\u7ec3\u7684\u6a21\u578b\u6548\u679c\u4e5f\u5c31\u8fbe\u5230\u4e86\u6781\u9650\u3002<\/p>\n<p>\u4e3a\u4e86\u83b7\u5f97\u597d\u7684\u8bad\u7ec3\u6548\u679c\uff0c\u8bad\u7ec3\u65f6\u95f4\u4e00\u822c\u8f83\u957f\uff0c\u5341\u51e0\u4e2a\u5c0f\u65f6\u81f3\u4e00\u5468\u751a\u81f3\u66f4\u957f\uff0c\u56e0\u6b64\u8bad\u7ec3\u6a21\u578b\u8fd9\u4e00\u6b65\u9aa4\u5f80\u5f80\u88ab\u8c03\u4f83\u4e3a\u201c\u70bc\u4e39\u201d\uff0c\u800c\u5206\u4eab\u7684\u8bad\u7ec3\u597d\u7684\u6a21\u578b\u5219\u88ab\u79f0\u4e3a\u201c\u4ed9\u4e39\u201d\u3002<\/p>\n<p>\u5bf9\u4e8e\u7528\u4e00\u5957\u7d20\u6750\u8bad\u7ec3\u597d\u7684\u6a21\u578b\uff0c\u4e5f\u53ef\u4ee5\u5957\u7528\u5230\u5176\u4ed6\u7d20\u6750\u4e0a\u7ee7\u7eed\u8fdb\u884c\u8bad\u7ec3\uff0c\u5f88\u5feb\u5c31\u80fd\u5f97\u5230\u8f83\u597d\u7684\u6548\u679c\uff0c\u8fd9\u4e5f\u5c31\u662f\u201c\u4ed9\u4e39\u201d\u53d7\u4eba\u8ffd\u6367\u7684\u539f\u56e0\u3002<\/p>\n<h1>\u00a0<\/h1>\n<h1 style=\"text-align: center;\">\u6362\u8138\u5408\u6210\u8f93\u51fa<\/h1>\n<p>\u5f53\u6a21\u578b\u8bad\u7ec3\u5230\u6ee1\u610f\u540e\uff0c\u5373\u53ef\u5c06\u5f00\u59cb\u5408\u6210\u6b65\u9aa4\uff0cDeepFaceLab\u6839\u76ee\u5f55\u4e0b\u7684<code>7) merge Quick96.bat<\/code>\u6216\u8005<code>7) merge SAEHD.bat<\/code>\u811a\u672c\uff08\u6839\u636e\u4e0a\u4e00\u6b65\u9aa4\u8bad\u7ec3\u6a21\u578b\u7684\u79cd\u7c7b\u9009\u62e9\u5bf9\u5e94\u811a\u672c\uff09\uff0c\u5728Use interactive merger\u9009\u9879\u4e2d\u8f93\u5165y\uff0c\u6253\u5f00\u5408\u6210\u7a97\u53e3\uff0c\u53ef\u4ee5\u901a\u8fc7\u6309\u952e\u5b9e\u65f6\u67e5\u770b\u5408\u6210\u6548\u679c\u3002<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-2213 aligncenter\" src=\"http:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepface_07.jpg\" alt=\"\" width=\"1237\" height=\"827\" srcset=\"https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepface_07.jpg 1237w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepface_07-300x201.jpg 300w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepface_07-1024x685.jpg 1024w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepface_07-768x513.jpg 768w\" sizes=\"(max-width: 1237px) 100vw, 1237px\" \/><\/p>\n<p>\u6309tab\u952e\u663e\u793a\u9884\u89c8\u6548\u679c\u5982\u4e0b\u56fe\uff0c\u547d\u4ee4\u884c\u7a97\u53e3\u4e2d\u663e\u793a\u5f53\u524d\u5408\u6210\u53c2\u6570\uff0cMerger\u7a97\u53e3\u4e2d\u53ef\u67e5\u770b\u4e0d\u540c\u6309\u952e\u7684\u529f\u80fd\u548c\u9884\u89c8\u5408\u6210\u6548\u679c\u3002<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-2230 aligncenter\" src=\"http:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_25.jpg\" alt=\"\" width=\"1097\" height=\"528\" srcset=\"https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_25.jpg 1097w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_25-300x144.jpg 300w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_25-1024x493.jpg 1024w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepfacelab_25-768x370.jpg 768w\" sizes=\"(max-width: 1097px) 100vw, 1097px\" \/><\/p>\n<p>\u5408\u6210\u65f6\u6bd4\u8f83\u91cd\u8981\u7684\u53c2\u6570\u6709\u4ee5\u4e0b\u51e0\u4e2a\uff1a<\/p>\n<p><strong>Mode<\/strong>\uff1a\u5408\u6210\u6a21\u5f0f\uff0c\u8f83\u5e38\u7528\u7684\u6709overlay\uff08\u989c\u8272\u53e0\u52a0\uff09\u548chist-match\uff08\u76f4\u65b9\u56fe\u5339\u914d\uff09\u4ee5\u53caseamless\uff08\u6cca\u677e\u514b\u9686\uff09\u7b49\u3002<\/p>\n<ul>\n<li>overlay\uff08\u989c\u8272\u53e0\u52a0\uff09\uff0c\u5feb\u6377\u952e1\uff0c\u53ef\u4ee5\u4e0ecolor_transfer_mode\u914d\u5408\u4f7f\u7528\u3002<\/li>\n<li>histmatch\uff08\u76f4\u65b9\u56fe\u5339\u914d\uff09\uff0c\u5feb\u6377\u952e2\uff0c\u53ef\u4ee5\u7406\u89e3\u4e3a\u8272\u5f69\u66f2\u7ebf\u5339\u914d\uff0c\u5c06\u6e90\u7d20\u6750\u8138\u90e8\u8272\u5f69\u660e\u6697\u8c03\u6574\u4e3a\u4e0e\u76ee\u6807\u7d20\u6750\u8fd1\u4f3c\u7684\u72b6\u6001\uff0c\u51fa\u73b0\u4eae\u6591\u5219\u9002\u5f53\u8c03\u5c0fhist match threshold\u53c2\u6570\u3002<\/li>\n<li>seamless\uff08\u6cca\u677e\u514b\u9686\uff09\uff0c\u5feb\u6377\u952e3\uff0c\u80fd\u591f\u6839\u636e\u76ee\u6807\u7d20\u6750\u8fd8\u539f\u4e00\u4e9b\u8138\u90e8\u7684\u5149\u5f71\u7ec6\u8282\uff0c\u4f46\u76ee\u6807\u7d20\u6750\u8272\u5f69\u6bd4\u8f83\u6742\u4e71\u65f6\u53ef\u80fd\u5bfc\u81f4\u989c\u8272\u4e0d\u5747\u3001\u95ea\u70c1\u7b49\u3002<\/li>\n<\/ul>\n<p><strong>mask_mode<\/strong>\uff1a\u906e\u7f69\u65b9\u5f0f\uff0c\u5feb\u6377\u952ex\uff0c\u7528\u4e8e\u5207\u6362\u6362\u8138\u8303\u56f4\uff0c\u5982\u679c\u8bad\u7ec3\u8fc7\u906e\u7f69\u53ef\u4ee5\u4f7f\u7528xseg-dst\u65b9\u5f0f\uff0c\u672a\u8bad\u7ec3\u8fc7\u906e\u7f69\u53ef\u4f7f\u7528learned-dst\uff08\u81ea\u5e26\u7684\u9884\u8bad\u7ec3\u906e\u7f69\uff0c\u53ef\u4fee\u590d\u90e8\u5206\u906e\u6321\uff09\u6216\u8005\u5176\u4ed6\u3002<\/p>\n<p><strong>color_transfer_mode<\/strong>\uff1a\u989c\u8272\u53e0\u52a0\u65b9\u5f0f\uff0c\u5feb\u6377\u952ec\uff0c\u4e00\u822c\u4e0eoverlay\u6a21\u5f0f\u642d\u914d\u4f7f\u7528\u3002<\/p>\n<p><strong>erode_mask_modifier<\/strong>\uff1a\u906e\u7f69\u8fb9\u7f18\u6269\u5c55\u6216\u6536\u7f29\uff0c\u5feb\u6377\u952ew\u3001s\uff0c\u7528\u4e8e\u4fee\u6539\u6362\u8138\u8303\u56f4\u3002<\/p>\n<p><strong>blur_mask_modifier<\/strong>\uff1a\u906e\u7f69\u8fb9\u7f18\u6a21\u7cca\uff0c\u5feb\u6377\u952ee\u3001d\uff0c\u7528\u4e8e\u6362\u8138\u548c\u76ee\u6807\u8138\u90e8\u878d\u5408\u3002<\/p>\n<p>\u5176\u4ed6\u8fd8\u6709output_face_scale\uff08\u653e\u5927\u7f29\u5c0f\u6362\u8138\uff0c\u5feb\u6377\u952eu\u3001j\uff09\u3001super_resolution_power\uff08\u8d85\u5206\u63d0\u5347\u7ec6\u8282\uff0c\u5feb\u6377\u952et\u3001g\uff09\u7b49\uff0c\u8fd9\u4e9b\u53c2\u6570\u76f8\u4e92\u914d\u5408\u80fd\u591f\u83b7\u5f97\u66f4\u597d\u7684\u5408\u6210\u6548\u679c\u3002<\/p>\n<p>\u5176\u4ed6\u5feb\u6377\u952e\u8fd8\u6709tab\uff08\u5207\u6362\u5feb\u6377\u952e\u663e\u793a\u548c\u5408\u6210\u9884\u89c8\u7a97\u53e3\uff09\u3001+\uff08\u653e\u5927\u9884\u89c8\u7a97\u53e3\uff09\u3001-\uff08\u7f29\u5c0f\u9884\u89c8\u7a97\u53e3\uff09\u3001v\uff08\u67e5\u770b\u906e\u7f69\uff09\u3001&lt;\uff08\u8df3\u8f6c\u4e0a\u4e00\u5e27\uff09\u3001&gt;\uff08\u8df3\u8f6c\u4e0b\u4e00\u5e27\uff09\u3001m\uff08\u8df3\u8f6c\u4e0a\u4e00\u5e27\u5e76\u4f7f\u7528\u5f53\u524d\u5408\u6210\u53c2\u6570\uff09\u3001\/\uff08\u8df3\u8f6c\u4e0b\u4e00\u5e27\u5e76\u4f7f\u7528\u5f53\u524d\u5408\u6210\u53c2\u6570\uff09\u3001Shift+&lt;\uff08\u56de\u5230\u7b2c\u4e00\u5e27\uff09\u3001Shift+m\uff08\u4ee5\u5f53\u524d\u5408\u6210\u53c2\u6570\u5408\u6210\u524d\u9762\u6240\u6709\u5e27\uff09\u3001Shift+\/\uff08\u4ee5\u5f53\u524d\u5408\u6210\u53c2\u6570\u5408\u6210\u540e\u9762\u6240\u6709\u5e27\uff09\u3001Shift+&gt;\uff08\u4ee5\u5f53\u524d\u5408\u6210\u53c2\u6570\u5408\u6210\u5176\u4ed6\u6240\u6709\u5e27\uff09\u3002<\/p>\n<p>\u5408\u6210\u5b8c\u6210\u540e\uff0cdata_dst\u6587\u4ef6\u5939\u5185\u4f1a\u51fa\u73b0merged\u548cmerged_mask\u6587\u4ef6\u5939\uff0c\u91cc\u9762\u5206\u522b\u662f\u5408\u6210\u540e\u7684\u56fe\u7247\u5e8f\u5217\u548c\u5408\u6210\u65f6\u7684\u8138\u90e8\u906e\u7f69\u3002<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-2214 aligncenter\" src=\"http:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepface_08.jpg\" alt=\"\" width=\"1179\" height=\"812\" srcset=\"https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepface_08.jpg 1179w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepface_08-300x207.jpg 300w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepface_08-1024x705.jpg 1024w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/01\/deepface_08-768x529.jpg 768w\" sizes=\"(max-width: 1179px) 100vw, 1179px\" \/><\/p>\n<p>\u6700\u540e\u518d\u6267\u884cDeepFaceLab\u6839\u76ee\u5f55\u4e0b\u7684<code>8) merged to mp4.bat<\/code>\u811a\u672c\u5373\u53ef\u5c06\u6362\u8138\u540e\u7684\u56fe\u7247\u5e8f\u5217\u5bfc\u51fa\u4e3amp4\u683c\u5f0f\uff0c\u9ed8\u8ba4\u8f93\u51fa\u4f4d\u7f6e\u4e3aworkspace\u6587\u4ef6\u5939\u4e0b\u7684result.mp4\u3002\u81f3\u6b64\uff0c\u4e00\u4e2a\u5b8c\u6574\u7684\u6362\u8138\u6d41\u7a0b\u5c31\u7ed3\u675f\u4e86\u3002<\/p>\n<h1>\u00a0<\/h1>\n<h1 style=\"text-align: center;\">\u6ce8\u610f<\/h1>\n<p>\u5728\u663e\u5361\u6027\u80fd\u548c\u8bad\u7ec3\u65f6\u95f4\u8db3\u591f\u7684\u60c5\u51b5\u4e0b\uff0c\u6362\u8138\u7684\u6548\u679c\u76f4\u63a5\u53d6\u51b3\u4e8e\u4eba\u8138\u7d20\u6750\u7684\u8d28\u91cf\uff0c\u4e00\u5b9a\u8981\u627e\u9ad8\u8d28\u91cf\u7684\u7d20\u6750\u8fdb\u884c\u6362\u8138\u624d\u80fd\u4e8b\u534a\u529f\u500d\u3002\u5f53\u53d1\u73b0\u8bad\u7ec3\u5f88\u591a\u65f6\u95f4\u548c\u8fed\u4ee3\u6b21\u6570\u540e\uff0closs\u503c\u4e0d\u518d\u964d\u4f4e\u800c\u6a21\u578b\u8d28\u91cf\u5e76\u4e0d\u9ad8\u65f6\uff0c\u9996\u5148\u9700\u8981\u68c0\u67e5\u8138\u90e8\u7d20\u6750\uff0c\u52a3\u8d28\u3001\u6a21\u7cca\u7684\u7d20\u6750\u9700\u8981\u5220\u9664\u3002<\/p>\n<p>\u6e90\u7d20\u6750\u548c\u76ee\u6807\u7d20\u6750\u7684\u8138\u578b\u5c3d\u91cf\u76f8\u4f3c\uff0c\u5426\u5219\u4f1a\u56e0\u4e3a\u8138\u578b\u5dee\u5f02\u8fc7\u5927\u5bfc\u81f4\u5408\u6210\u6548\u679c\u8f83\u5dee\uff0c\u5728\u4f7f\u7528\u5168\u8138\u6216\u8005\u6574\u8138\u6a21\u578b\u65f6\u4f1a\u66f4\u4e3a\u660e\u663e\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u672c\u6587\u53c2\u8003\u81ea<a href=\"https:\/\/www.deepfaker.xyz\/\">\u6258\u5c3c\u662f\u5854\u514b<\/a>\uff0c\u611f\u8c22\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>\u672a\u88ab\u8868\u8fbe\u7684\u60c5\u7eea\u6c38\u8fdc\u90fd\u4e0d\u4f1a\u6d88\u5931\uff0c<\/p>\n<p>\u5b83\u4eec\u53ea\u662f\u88ab\u6d3b\u57cb\u4e86\uff0c<\/p>\n<p>\u6709\u671d\u4e00\u65e5\u4f1a\u4ee5\u66f4\u4e11\u6076\u7684\u65b9\u5f0f\u7206\u53d1\u51fa\u6765\u3002<\/p>\n<p style=\"text-align: right;\">\u2014\u2014\u5f17\u6d1b\u4f0a\u5fb7<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00 Deepfakes\u662f\u4e00\u79cd\u5229\u7528\u673a\u5668\u5b66\u4e60\u4e2d\u7684\u6df1\u5ea6\u5b66\u4e60\u5b9e\u73b0AI\u89c6\u9891\u6362\u8138\u7684\u6280\u672f\u3002\u8fd9\u79cd\u6280\u672f\u5728\u7279\u5b9a\u7684\u573a\u5408\u4e0b\u53ef\u4ee5\u505a\u51fa\u975e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2217,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[17,4],"tags":[19,20,14],"_links":{"self":[{"href":"https:\/\/www.yumefx.com\/index.php?rest_route=\/wp\/v2\/posts\/2195"}],"collection":[{"href":"https:\/\/www.yumefx.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yumefx.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yumefx.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yumefx.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2195"}],"version-history":[{"count":0,"href":"https:\/\/www.yumefx.com\/index.php?rest_route=\/wp\/v2\/posts\/2195\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.yumefx.com\/index.php?rest_route=\/wp\/v2\/media\/2217"}],"wp:attachment":[{"href":"https:\/\/www.yumefx.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yumefx.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2195"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yumefx.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}