mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-07 05:22:06 -07:00
ConverterMasked: better lct
This commit is contained in:
parent
fbf6b5f25e
commit
75eb7468ee
2 changed files with 4 additions and 3 deletions
|
@ -157,10 +157,10 @@ class SampleGeneratorFace(SampleGeneratorBase):
|
|||
pitch, yaw = LandmarksProcessor.estimate_pitch_yaw (sample.landmarks)
|
||||
|
||||
if self.add_pitch:
|
||||
batches[i_pitch].append (pitch)
|
||||
batches[i_pitch].append ([pitch])
|
||||
|
||||
if self.add_yaw:
|
||||
batches[i_yaw].append (yaw)
|
||||
batches[i_yaw].append ([yaw])
|
||||
|
||||
break
|
||||
yield [ np.array(batch) for batch in batches]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue