From 0ce96875a141cab1eb89815d7d31d8f536e5fee9 Mon Sep 17 00:00:00 2001 From: Colombo Date: Wed, 22 Jan 2020 18:49:32 +0400 Subject: [PATCH] 1 --- README.md | 1 + mainscripts/Extractor.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e04188a..ab4cc21 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,7 @@ DeepFaceLab is used by such popular youtube channels as |Ready to work facesets|[mrdeepfakes](https://mrdeepfakes.com/forums/forum-celebrity-facesets)|| |||| |Communication groups|[telegram (English / Russian)](https://t.me/DeepFaceLab_official)|Don't forget to hide your phone number.| +||[telegram (English only)](https://t.me/DeepFaceLab_official_en)|Don't forget to hide your phone number.| ||[mrdeepfakes](https://mrdeepfakes.com/forums/)|the biggest (Not) Safe For Work English community| ||QQ 951138799| Chinese QQ group for ML/AI experts|| ||[deepfaker.xyz](https://www.deepfaker.xyz)|Chinesse guys are localizing DeepFaceLab| diff --git a/mainscripts/Extractor.py b/mainscripts/Extractor.py index 7b40f2a..736344e 100644 --- a/mainscripts/Extractor.py +++ b/mainscripts/Extractor.py @@ -55,8 +55,6 @@ class ExtractSubprocessor(Subprocessor): if stdin_fd is not None and DEBUG: sys.stdin = os.fdopen(stdin_fd) - self.log_info (f"Running on {client_dict['device_name'] }") - if self.cpu_only: device_config = nn.DeviceConfig.CPU() place_model_on_cpu = True @@ -67,6 +65,8 @@ class ExtractSubprocessor(Subprocessor): if self.type == 'all' or 'rects' in self.type or 'landmarks' in self.type: nn.initialize (device_config) + self.log_info (f"Running on {client_dict['device_name'] }") + if self.type == 'all' or self.type == 'rects-s3fd' or 'landmarks' in self.type: self.rects_extractor = facelib.S3FDExtractor(place_model_on_cpu=place_model_on_cpu)