          mask = cv2.warpAffine(self.mask,
                                self._affine_matrix,
                                self._frame_dims,
                                frame,
                                flags=cv2.WARP_INVERSE_MAP | self._intepolator,
                                borderMode=cv2.BORDER_CONSTANT)
          logger.trace("mask shape: %s, mask dtype: %s, mask min: %s, mask max: %s",
                       mask.shape, mask.dtype, mask.min(), mask.max())
          return mask
  
 
</s> remove         self._intepolator = interpolator
 </s> add         self._interpolator = interpolator </s> remove         self.face = None
        """ str: The hash of the face. This cannot be set until the file is saved due to image
        compression, but will be set if loading data from :func:`from_alignment` """
 </s> add  </s> remove         self.filename = filename
 </s> add  </s> remove                     "not trained with a mask then this will fallback to components."
 </s> add                     "not trained with a mask then this will fallback to "
                    "'{}'".format(get_default_mask()) + </s> remove         self._intepolator = None
 </s> add         self._interpolator = None
                              flags=cv2.WARP_INVERSE_MAP | self._interpolator,
          mask = cv2.warpAffine(self.mask,
                                self._affine_matrix,
                                self._frame_dims,
                                frame,
                              flags=cv2.WARP_INVERSE_MAP | self._interpolator,
                                borderMode=cv2.BORDER_CONSTANT)
          logger.trace("mask shape: %s, mask dtype: %s, mask min: %s, mask max: %s",
                       mask.shape, mask.dtype, mask.min(), mask.max())
          return mask
  
keep keep keep keep replace keep keep keep keep keep
 Smart Mask - Extract code review

- Lint simple_tests.py
- Only reformat alignments file if it exists otherwise change filename
- Update legacy alignments to new format at all stages
- faces_detect.Mask.from_dict - logging format fix
- convert.py fix otf for new pipeline
- cli.py - Add note that masks not used. Revert convert masks
- faces_detect.py - Revert non-extract code
- Add .p and .pickle extensions for serializer
- plugins/extract revert some changes
- scripts/fsmedia - Revert code changes
- Pipeline - cleanup
- Consistant alpha channel stripping (fixes single-process)
- Store landmarks as numpy array
- Code attribution
- Normalize feed face and reference face to 0.0 - 1.0 in convert
- Lock in mask VRAM sized
- Add documentation to plugin_loader
- Update alignments tool to work with new format 
lib/faces_detect.py