This commit is contained in:
Colombo 2020-04-18 18:29:55 +04:00
parent a3c91271d0
commit 3a9e851339
2 changed files with 5 additions and 3 deletions

View file

@ -153,9 +153,9 @@ Unfortunately, there is no "make everything ok" button in DeepFaceLab. You shoul
||bitcoin:bc1qkhh7h0gwwhxgg6h6gpllfgstkd645fefrd5s6z| ||bitcoin:bc1qkhh7h0gwwhxgg6h6gpllfgstkd645fefrd5s6z|
|Alipay 捐款|![](doc/Alipay_donation.jpg)| |Alipay 捐款|![](doc/Alipay_donation.jpg)|
||| |||
|Last donations|10$ ( Mélio Mascort )| |Last donations|10$ ( Mattia Romanut )|
||10$ ( Mélio Mascort )|
||25$ ( Maria Grasmeder )| ||25$ ( Maria Grasmeder )|
||10$ ( Amien Phillips )|
||| |||
|Collect facesets|You can collect faceset of any celebrity that can be used in DeepFaceLab and share it [in the community](https://mrdeepfakes.com/forums/forum-celebrity-facesets)| |Collect facesets|You can collect faceset of any celebrity that can be used in DeepFaceLab and share it [in the community](https://mrdeepfakes.com/forums/forum-celebrity-facesets)|
||| |||

View file

@ -305,7 +305,9 @@ def MergeMaskedFace (predictor_func, predictor_input_shape,
else: else:
alpha = cfg.color_degrade_power / 100.0 alpha = cfg.color_degrade_power / 100.0
out_img = (out_img*(1.0-alpha) + out_img_reduced*alpha) out_img = (out_img*(1.0-alpha) + out_img_reduced*alpha)
else:
out_img = img_bgr.copy()
out_merging_mask_a = img_face_mask_a out_merging_mask_a = img_face_mask_a
return out_img, out_merging_mask_a return out_img, out_merging_mask_a