              Should be called from :mod:`~plugins.extract.pipeline`
          """
          logger.debug("initialize %s: (args: %s, kwargs: %s)",
                       self.__class__.__name__, args, kwargs)
          logger.info("Initializing %s in %s phase...", self.name, self._plugin_type)
          self.queue_size = 1
          self._add_queues(kwargs["in_queue"], kwargs["out_queue"], ["predict", "post"])
          self._compile_threads()
          try:
              self.init_model()
 
</s> remove         """ Inititalize the extractor plugin
 </s> add         """ Initialize the extractor plugin </s> remove                     self.name, self._plugin_type, self.batchsize)
 </s> add                     self.name, self._plugin_type.title(), self.batchsize) </s> remove         self.axis = arguments.job.replace("sort-", "")
 </s> add  </s> remove     """ Sort alignments' index by the order they appear in
        an image """
 </s> add     """ Sort alignments' index by the order they appear in an image """ </s> remove         self.phase = "detect"
 </s> add         self._flow = ["detect", "align", "mask"]
        self.phase = self._flow[0]
        logger.info("Initializing %s (%s)...", self.name, self._plugin_type.title())
              Should be called from :mod:`~plugins.extract.pipeline`
          """
          logger.debug("initialize %s: (args: %s, kwargs: %s)",
                       self.__class__.__name__, args, kwargs)
        logger.info("Initializing %s (%s)...", self.name, self._plugin_type.title())
          self.queue_size = 1
          self._add_queues(kwargs["in_queue"], kwargs["out_queue"], ["predict", "post"])
          self._compile_threads()
          try:
              self.init_model()
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 
plugins/extract/_base.py