Skip to content

Commit

Permalink
Bugfix: Mask tool - correctly name imported mask
Browse files Browse the repository at this point in the history
  • Loading branch information
torzdf committed Mar 18, 2024
1 parent af95dbb commit 63b4d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/mask/mask_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def _store_mask(self, face: DetectedFace, mask: np.ndarray) -> None:
is_aligned=self._is_faces,
dtype="float32")
assert aligned.face is not None
face.add_mask("custom",
face.add_mask(f"custom_{self._centering}",
aligned.face / 255.,
aligned.adjusted_matrix,
aligned.interpolators[1],
Expand Down

0 comments on commit 63b4d91

Please sign in to comment.