mirror of
https://github.com/zebrajr/faceswap.git
synced 2025-12-06 00:20:09 +01:00
bugfix: manual tool - alignments saving
This commit is contained in:
parent
efa4471243
commit
4b20316975
|
|
@ -300,7 +300,8 @@ class _DiskIO(): # pylint:disable=too-few-public-methods
|
|||
logger.verbose("Saving alignments for %s updated frames", # type:ignore[attr-defined]
|
||||
len(frames))
|
||||
|
||||
for idx, faces in zip(frames, np.array(self._frame_faces)[np.array(frames)]):
|
||||
for idx, faces in zip(frames,
|
||||
np.array(self._frame_faces, dtype="object")[np.array(frames)]):
|
||||
frame = self._sorted_frame_names[idx]
|
||||
self._alignments.data[frame]["faces"] = [face.to_alignment() for face in faces]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user