  
  from lib.config import FaceswapConfig
  from lib.utils import full_path_split
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
 
</s> remove from lib.utils import get_folder, deprecation_warning
 </s> add from lib.utils import get_folder </s> remove import base64
import zlib
 </s> add 
from lib.model.masks import get_available_masks
  
  from lib.config import FaceswapConfig
from lib.model.masks import get_available_masks
  from lib.utils import full_path_split
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
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 
plugins/train/_config.py