  from tools.lib_alignments.media import AlignmentData, ExtractedFaces, Faces, Frames
  from tools.lib_alignments.annotate import Annotate
  from tools.lib_alignments.jobs import Check, Draw, Extract, Merge, Reformat, RemoveAlignments, Rename, Sort, Spatial, UpdateHashes
  from tools.lib_alignments.jobs_manual import Manual
 
</s> remove from .lib_alignments import (AlignmentData, Check, Draw, # noqa pylint: disable=unused-import
                             Extract, Manual, Merge, Reformat, Rename,
 </s> add from .lib_alignments import (AlignmentData, Check, Dfl, Draw, # noqa pylint: disable=unused-import
                             Extract, Manual, Merge, Rename, </s> remove fail_count = 0
test_count = 0
 </s> add FAIL_COUNT = 0
TEST_COUNT = 0 </s> remove """ Plugin loader for extract, training and model tasks """
 </s> add """ Plugin loader for Faceswap extract, training and convert tasks """ </s> remove """ UNET DFL face mask plugin """
 </s> add """ UNET DFL face mask plugin

Architecture and Pre-Trained Model based on...
TernausNet: U-Net with VGG11 Encoder Pre-Trained on ImageNet for Image Segmentation
https://arxiv.org/abs/1801.05746
https://github.com/ternaus/TernausNet

Source Implementation and fine-tune training....
https://github.com/iperov/DeepFaceLab/blob/master/nnlib/TernausNet.py

Model file sourced from...
https://github.com/iperov/DeepFaceLab/blob/master/nnlib/FANSeg_256_full_face.h5
"""
from tools.lib_alignments.jobs import Check, Dfl, Draw, Extract, Merge, RemoveAlignments, Rename, Sort, Spatial, UpdateHashes
  from tools.lib_alignments.media import AlignmentData, ExtractedFaces, Faces, Frames
  from tools.lib_alignments.annotate import Annotate
from tools.lib_alignments.jobs import Check, Dfl, Draw, Extract, Merge, RemoveAlignments, Rename, Sort, Spatial, UpdateHashes
  from tools.lib_alignments.jobs_manual import Manual
keep keep replace 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/lib_alignments/__init__.py