mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-15 01:23:44 -07:00
upgrading to numpy==1.16.1, fix ConverterMasked
This commit is contained in:
parent
0c1638e168
commit
ea7a2456c5
3 changed files with 4 additions and 3 deletions
|
@ -198,6 +198,7 @@ class ConverterMasked(ConverterBase):
|
|||
img_prd_hborder_rect_mask_a = cv2.warpAffine( prd_hborder_rect_mask_a, face_output_mat, img_size, np.zeros(img_bgr.shape, dtype=np.float32), cv2.WARP_INVERSE_MAP | cv2.INTER_LANCZOS4 )
|
||||
img_prd_hborder_rect_mask_a = np.expand_dims (img_prd_hborder_rect_mask_a, -1)
|
||||
img_mask_blurry_aaa *= img_prd_hborder_rect_mask_a
|
||||
img_mask_blurry_aaa = np.clip( img_mask_blurry_aaa, 0, 1.0 )
|
||||
|
||||
if debug:
|
||||
debugs += [img_mask_blurry_aaa.copy()]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
numpy==1.15.4
|
||||
numpy==1.16.1
|
||||
pathlib==1.0.1
|
||||
scandir==1.6
|
||||
h5py==2.7.1
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
numpy==1.15.4
|
||||
numpy==1.16.1
|
||||
pathlib==1.0.1
|
||||
scandir==1.6
|
||||
h5py==2.7.1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue