mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-07 21:42:08 -07:00
fix manual extractor
This commit is contained in:
parent
2fd6616765
commit
410b8e98a0
1 changed files with 2 additions and 1 deletions
|
@ -542,7 +542,8 @@ class ExtractSubprocessor(Subprocessor):
|
|||
def on_result (self, host_dict, data, result):
|
||||
if self.manual == True:
|
||||
filename, landmarks = result.filename, result.landmarks
|
||||
if len(landmarks) != 0:
|
||||
|
||||
if len(landmarks) != 0 and landmarks[0] is not None:
|
||||
self.landmarks = landmarks[0]
|
||||
|
||||
(h,w,c) = self.image.shape
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue