              default_detector = "s3fd"
              default_aligner = "fan"
  
          argument_list = []
          argument_list.append({"opts": ("--serializer", ),
                                "type": str.lower,
                                "dest": "serializer",
                                "default": "json",
                                "choices": ("json", "pickle", "yaml"),
                                "group": "Data",
                                "help": "Serializer for alignments file. If yaml is chosen and not "
                                        "available, then json will be used as the default "
                                        "fallback."})
          argument_list.append({"opts": ("-D", "--detector"),
                                "action": Radio,
                                "type": str.lower,
                                "choices":  PluginLoader.get_available_extractors("detect"),
                                "default": default_detector,
 
</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         filename:   Filename of alignments file excluding extension. If a
 </s> add         filename:   Filename of alignments file. If a </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                    "\nIf you are using 'warp to landmarks' then every "
 </s> add                    "\nIf you are training with a mask or using 'warp to landmarks' then every " </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 
              default_detector = "s3fd"
              default_aligner = "fan"
  
          argument_list = []









          argument_list.append({"opts": ("-D", "--detector"),
                                "action": Radio,
                                "type": str.lower,
                                "choices":  PluginLoader.get_available_extractors("detect"),
                                "default": default_detector,
keep keep keep keep replace replace replace replace replace replace replace 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 
lib/cli.py