                                     activation="sigmoid",
                                     name="face_out")
          outputs = [var_x]
  
          if self.config.get("replicate_input_mask", False):
              var_y = input_
              var_y = self.blocks.upscale(var_y, decoder_complexity)
              var_y = self.blocks.upscale(var_y, decoder_complexity)
              var_y = self.blocks.upscale(var_y, decoder_complexity // 2)
              var_y = self.blocks.upscale(var_y, decoder_complexity // 4)
 
</s> remove         if self.config.get("replicate_input_mask", False):
 </s> add         if self.config.get("mask_type", None): </s> remove 
        if self.config.get("replicate_input_mask", False):
 </s> add         # Mask
        if self.config.get("mask_type", None): </s> remove         if self.config.get("replicate_input_mask", False):
 </s> add         if self.config.get("mask_type", None): </s> remove         if self.config.get("replicate_input_mask", False):
 </s> add         if self.config.get("mask_type", None): </s> remove         if self.config.get("replicate_input_mask", False):
 </s> add         if self.config.get("mask_type", None):

        if self.config.get("mask_type", None):
                                     activation="sigmoid",
                                     name="face_out")
          outputs = [var_x]
  
        if self.config.get("mask_type", None):
              var_y = input_
              var_y = self.blocks.upscale(var_y, decoder_complexity)
              var_y = self.blocks.upscale(var_y, decoder_complexity)
              var_y = self.blocks.upscale(var_y, decoder_complexity // 2)
              var_y = self.blocks.upscale(var_y, decoder_complexity // 4)
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 
plugins/train/model/unbalanced.py