          self.is_extract = is_extract
          folder, filename = self.set_folder_filename(input_is_video)
          serializer = self.set_serializer()
          super().__init__(folder,
                           filename=filename,
                           serializer=serializer)
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def set_folder_filename(self, input_is_video):
          """ Return the folder for the alignments file"""
          if self.args.alignments_path:
 
</s> remove         serializer = self.set_serializer()
 </s> add  </s> remove     def set_serializer(self):
        """ Set the serializer to be used for loading and
            saving alignments """
        if hasattr(self.args, "serializer") and self.args.serializer:
            logger.debug("Serializer provided: '%s'", self.args.serializer)
            serializer = self.args.serializer
        else:
            # If there is a full filename then this will be overriden
            # by filename extension
            serializer = "json"
            logger.debug("No Serializer defaulting to: '%s'", serializer)
        return serializer

 </s> add  </s> remove     def __init__(self, folder, filename="alignments", serializer="json"):
        logger.debug("Initializing %s: (folder: '%s', filename: '%s', serializer: '%s')",
                     self.__class__.__name__, folder, filename, serializer)
        self.serializer = self.get_serializer(filename, serializer)
 </s> add     def __init__(self, folder, filename="alignments"):
        logger.debug("Initializing %s: (folder: '%s', filename: '%s')",
                     self.__class__.__name__, folder, filename)
        self.serializer = self.get_serializer(filename) </s> remove             logger.debug("Serializer set from argument: '%s'", serializer)
            retval = get_serializer(serializer)
 </s> add             logger.debug("Returning default Pickle serializer")
            retval = get_serializer("compressed") </s> remove             specified serializer will be used """
        logger.debug("Getting serializer: (filename: '%s', serializer: '%s')",
                     filename, serializer)
 </s> add             compressed pickle will be used """
        logger.debug("Getting serializer: (filename: '%s')", filename)
                         filename=filename)
          self.is_extract = is_extract
          folder, filename = self.set_folder_filename(input_is_video)
          serializer = self.set_serializer()
          super().__init__(folder,
                         filename=filename)
                         filename=filename)
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def set_folder_filename(self, input_is_video):
          """ Return the folder for the alignments file"""
          if self.args.alignments_path:
keep keep keep keep replace 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/fsmedia.py