mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 04:52:13 -07:00
fix
This commit is contained in:
parent
d3e35c8ce6
commit
0d3b25812d
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ class ExtractSubprocessor(Subprocessor):
|
|||
break
|
||||
|
||||
if self.max_faces_from_image != 0 and len(data.rects) > 1:
|
||||
data.rects = x[0:self.max_faces_from_image]
|
||||
data.rects = data.rects[0:self.max_faces_from_image]
|
||||
|
||||
return data
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue