  from lib.gui.control_helper import set_slider_rounding
  from lib.convert import Converter
  from lib.faces_detect import DetectedFace
  from lib.multithreading import MultiThread
  from lib.utils import FaceswapError, set_system_verbosity
  from lib.queue_manager import queue_manager
  from scripts.fsmedia import Alignments, Images
 
</s> remove from lib.utils import get_folder, deprecation_warning
 </s> add from lib.utils import get_folder </s> remove import logging
 </s> add 
from lib.model.masks import get_available_masks
  from lib.gui.control_helper import set_slider_rounding
  from lib.convert import Converter
  from lib.faces_detect import DetectedFace
from lib.model.masks import get_available_masks
  from lib.multithreading import MultiThread
  from lib.utils import FaceswapError, set_system_verbosity
  from lib.queue_manager import queue_manager
  from scripts.fsmedia import Alignments, Images
keep keep add keep keep keep keep
 Serialize masks to alignments file

- Add new serializers (npy + compressed)
- Remove Serializer option from cli
- Revert get_aligned call in scripts/extract
- Default alignments to compressed
- Size masks to 128px and compress
- Remove mask thresholding/blur from generation code
- Add Mask class to lib/faces_detect
- Revert debug landmarks to aligned face
- Revert non-extraction code to staging version 
tools/preview.py