mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 13:02:15 -07:00
fix bug
This commit is contained in:
parent
a3c91271d0
commit
3a9e851339
2 changed files with 5 additions and 3 deletions
|
@ -153,9 +153,9 @@ Unfortunately, there is no "make everything ok" button in DeepFaceLab. You shoul
|
||||||
||bitcoin:bc1qkhh7h0gwwhxgg6h6gpllfgstkd645fefrd5s6z|
|
||bitcoin:bc1qkhh7h0gwwhxgg6h6gpllfgstkd645fefrd5s6z|
|
||||||
|Alipay 捐款||
|
|Alipay 捐款||
|
||||||
|||
|
|||
|
||||||
|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)|
|
||||||
|||
|
|||
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue