mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 04:52:13 -07:00
global refactoring and fixes,
removed support of extracted(aligned) PNG faces. Use old builds to convert from PNG to JPG. fanseg model file in facelib/ is renamed
This commit is contained in:
parent
921b464d5b
commit
61472cdaf7
82 changed files with 3838 additions and 3812 deletions
|
@ -82,6 +82,9 @@ class SampleGeneratorFace(SampleGeneratorBase):
|
|||
return self
|
||||
|
||||
def __next__(self):
|
||||
if not self.initialized:
|
||||
return []
|
||||
|
||||
self.generator_counter += 1
|
||||
generator = self.generators[self.generator_counter % len(self.generators) ]
|
||||
return next(generator)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue