From a37af3e9650a8dc9a7a108d13b330df217087468 Mon Sep 17 00:00:00 2001 From: iperov Date: Tue, 25 Dec 2018 19:50:25 +0400 Subject: [PATCH] remove print_on_no_embedded_data=True on sort_by_hist_dissim --- mainscripts/Sorter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainscripts/Sorter.py b/mainscripts/Sorter.py index 27c7c44..40d1617 100644 --- a/mainscripts/Sorter.py +++ b/mainscripts/Sorter.py @@ -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"): 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: face_mask = LandmarksProcessor.get_image_hull_mask (image, dflpng.get_landmarks()) image = (image*face_mask).astype(np.uint8)