      @staticmethod
      def compile_feed_faces(detected_faces):
          """ Compile the faces for feeding into the predictor """
          logger.trace("Compiling feed face. Batchsize: %s", len(detected_faces))
          feed_faces = np.stack([detected_face.feed_face / 255. for detected_face in detected_faces])
          logger.trace("Compiled Feed faces. Shape: %s", feed_faces.shape)
          return feed_faces
  
      def predict(self, feed_faces, batch_size=None):
          """ Perform inference on the feed """
 
</s> remove         final_faces = list()
        for detected_face in faces["detected_faces"]:
            filename = self.output_dir / Path(detected_face.filename).stem
            final_faces.append({"file_location": filename,
                                "face": detected_face})
        faces["detected_faces"] = final_faces
 </s> add         self.align_face(faces, size, filename) </s> remove     def compile_sample(self, batch_size, samples=None, images=None, masks=None):
 </s> add     def compile_sample(self, batch_size, samples=None, images=None): </s> remove             extension = '.png'
 </s> add             extension = Path(filename).suffix </s> remove         self.set_preview_feed()
 </s> add 
        feed_faces = np.stack([detected_face.feed_face for detected_face in detected_faces])
      @staticmethod
      def compile_feed_faces(detected_faces):
          """ Compile the faces for feeding into the predictor """
          logger.trace("Compiling feed face. Batchsize: %s", len(detected_faces))
        feed_faces = np.stack([detected_face.feed_face for detected_face in detected_faces])
          logger.trace("Compiled Feed faces. Shape: %s", feed_faces.shape)
          return feed_faces
  
      def predict(self, feed_faces, batch_size=None):
          """ Perform inference on the feed """
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/convert.py