mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-07 21:42:08 -07:00
remove print_on_no_embedded_data=True on sort_by_hist_dissim
This commit is contained in:
parent
dba951412c
commit
a37af3e965
1 changed files with 1 additions and 1 deletions
|
@ -454,7 +454,7 @@ def sort_by_hist_dissim(input_path):
|
||||||
for filename_path in tqdm( Path_utils.get_image_paths(input_path), desc="Loading"):
|
for filename_path in tqdm( Path_utils.get_image_paths(input_path), desc="Loading"):
|
||||||
image = cv2.imread(filename_path)
|
image = cv2.imread(filename_path)
|
||||||
|
|
||||||
dflpng = DFLPNG.load( str(filename_path), print_on_no_embedded_data=True )
|
dflpng = DFLPNG.load( str(filename_path) )
|
||||||
if dflpng is not None:
|
if dflpng is not None:
|
||||||
face_mask = LandmarksProcessor.get_image_hull_mask (image, dflpng.get_landmarks())
|
face_mask = LandmarksProcessor.get_image_hull_mask (image, dflpng.get_landmarks())
|
||||||
image = (image*face_mask).astype(np.uint8)
|
image = (image*face_mask).astype(np.uint8)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue