  
  from lib.image import encode_image_with_hash
  from lib.multithreading import MultiThread
  from lib.queue_manager import queue_manager
  from lib.utils import get_folder, deprecation_warning
  from plugins.extract.pipeline import Extractor
  from scripts.fsmedia import Alignments, Images, PostProcess, Utils
  
  tqdm.monitor_interval = 0  # workaround for TqdmSynchronisationWarning
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
 
</s> remove import logging
 </s> add 
from lib.utils import get_folder
  
  from lib.image import encode_image_with_hash
  from lib.multithreading import MultiThread
  from lib.queue_manager import queue_manager
from lib.utils import get_folder
  from plugins.extract.pipeline import Extractor
  from scripts.fsmedia import Alignments, Images, PostProcess, Utils
  
  tqdm.monitor_interval = 0  # workaround for TqdmSynchronisationWarning
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
keep keep keep keep replace keep 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 
scripts/extract.py