                                     centering=mask.stored_centering,
                                     size=detected_face.image.shape[0],
                                     is_aligned=True).face
              else:
                  centering: "CenteringType" = ("legacy" if self._alignments.version == 1.0
                                                else mask.stored_centering)
                  detected_face.load_aligned(detected_face.image, centering=centering, force=True)
                  face = detected_face.aligned.face
              assert face is not None
              imask = cv2.resize(detected_face.mask[mask_type].mask,
 
</s> remove             if self._counts["update"] != 0:
 </s> add             if self._counts["update"] != 0 and self._alignments is not None: </s> remove #: /home/matt/faceswap/tools/mask/cli.py:152
 </s> add #: tools/mask/cli.py:154 </s> remove "POT-Creation-Date: 2022-08-05 14:00+0100\n"
"PO-Revision-Date: 2022-11-27 01:28+0900\n"
 </s> add "POT-Creation-Date: 2023-02-20 14:55+0000\n"
"PO-Revision-Date: 2023-02-20 15:01+0000\n"
                centering: "CenteringType" = ("legacy" if self._alignments is not None and
                                              self._alignments.version == 1.0
                                     centering=mask.stored_centering,
                                     size=detected_face.image.shape[0],
                                     is_aligned=True).face
              else:
                centering: "CenteringType" = ("legacy" if self._alignments is not None and
                                              self._alignments.version == 1.0
                                                else mask.stored_centering)
                  detected_face.load_aligned(detected_face.image, centering=centering, force=True)
                  face = detected_face.aligned.face
              assert face is not None
              imask = cv2.resize(detected_face.mask[mask_type].mask,
keep keep keep keep replace keep keep keep keep keep
 Mask tool update:
  - Allow creation of masks on face sets without an alignments file
  - Auto-detect alignments file location when not provided 
tools/mask/mask.py