                                        filename=os.path.basename(arguments.alignments))
  
          self._extractor = self._get_extractor(arguments.exclude_gpus)
          self._extractor_input_thread = self._feed_extractor()
  
          logger.debug("Initialized %s", self.__class__.__name__)
  
 
</s> remove     def _check_input(self, mask_input):
 </s> add     def _check_input(self, mask_input: str) -> None: </s> remove         self._faces_saver = None
 </s> add         self._faces_saver: Optional[ImagesSaver] = None </s> remove         self.args = arguments
        job = self.args.job
        self.alignments = None if job == "from-faces" else AlignmentData(self.args.alignments_file)
 </s> add         self._args = arguments
        job = self._args.job
        alignment_file = self._find_alignments()
        self.alignments = None if job == "from-faces" else AlignmentData(alignment_file) </s> remove         args = tuple() if self._update_type == "output" else (self._extractor.input_queue, )
 </s> add         if self._update_type == "output":
            args: tuple = tuple()
        else:
            assert self._extractor is not None
            args = (self._extractor.input_queue, )
        self._set_correct_mask_type()
                                        filename=os.path.basename(arguments.alignments))
  
          self._extractor = self._get_extractor(arguments.exclude_gpus)
        self._set_correct_mask_type()
          self._extractor_input_thread = self._feed_extractor()
  
          logger.debug("Initialized %s", self.__class__.__name__)
  
keep keep add keep keep keep keep
 Minor updates and fixups
  - Mask Tool - Typing + BiSeNet mask update fix
  - Alignments Tool - Auto search for alignments file 
tools/mask/mask.py