  
      # << INIT FUNCTIONS >> #
  
      @staticmethod
      def get_serializer(filename, serializer):
          """ Set the serializer to be used for loading and
              saving alignments
  
              If a filename with a valid extension is passed in
              this will be used as the serializer, otherwise the
 
</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) </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                     decide the serializer, and the serializer argument will
                    be ignored.
        serializer: If provided, this will be the format that the data is
                    saved in (if data is to be saved). Can be 'json', 'pickle'
                    or 'yaml'
 </s> add                     decide the serializer otherwise compressed pickle is used. </s> remove         filename:   Filename of alignments file excluding extension. If a
 </s> add         filename:   Filename of alignments file. If a </s> remove     def _separate_target_mask(size_list_of_batches):
 </s> add     def _separate_target_mask(batch):
    def get_serializer(filename):
  
      # << INIT FUNCTIONS >> #
  
      @staticmethod
    def get_serializer(filename):
          """ Set the serializer to be used for loading and
              saving alignments
  
              If a filename with a valid extension is passed in
              this will be used as the serializer, otherwise the
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 
lib/alignments.py