  """ Tools for manipulating the alignments seralized file """
  import logging
  
  from lib.utils import set_system_verbosity
  from .lib_alignments import (AlignmentData, Check, Draw, # noqa pylint: disable=unused-import
                               Extract, Manual, Merge, Reformat, Rename,
                               RemoveAlignments, Sort, Spatial, UpdateHashes)
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  
 
</s> remove from tools.lib_alignments.jobs import Check, Draw, Extract, Merge, Reformat, RemoveAlignments, Rename, Sort, Spatial, UpdateHashes
 </s> add from tools.lib_alignments.jobs import Check, Dfl, Draw, Extract, Merge, RemoveAlignments, Rename, Sort, Spatial, UpdateHashes </s> remove # TODO Cpu mode
 </s> add # TODO CPU mode </s> remove     """ Plugin loader for extract, training and model tasks """
 </s> add     """ Retrieve, or get information on, Faceswap plugins

    Return a specific plugin, list available plugins, or get the default plugin for a
    task.

    Example
    -------
    >>> from plugins.plugin_loader import PluginLoader
    >>> align_plugins = PluginLoader.get_available_extractors('align')
    >>> aligner = PluginLoader.get_aligner('cv2-dnn')
    """ </s> remove """ Plugin loader for extract, training and model tasks """
 </s> add """ Plugin loader for Faceswap extract, training and convert tasks """
from .lib_alignments import (AlignmentData, Check, Dfl, Draw, # noqa pylint: disable=unused-import
                             Extract, Manual, Merge, Rename,
  """ Tools for manipulating the alignments seralized file """
  import logging
  
  from lib.utils import set_system_verbosity
from .lib_alignments import (AlignmentData, Check, Dfl, Draw, # noqa pylint: disable=unused-import
                             Extract, Manual, Merge, Rename,
from .lib_alignments import (AlignmentData, Check, Dfl, Draw, # noqa pylint: disable=unused-import
                             Extract, Manual, Merge, Rename,
                               RemoveAlignments, Sort, Spatial, UpdateHashes)
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  
keep keep keep keep replace 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 
tools/alignments.py