  class Mask(Masker):
      """ Neural network to process face image into a segmentation mask of the face """
      def __init__(self, **kwargs):
          git_model_id = 14
          model_filename = "bisnet_face_parsing_v1.h5"
          super().__init__(git_model_id=git_model_id, model_filename=model_filename, **kwargs)
          self.name = "BiSeNet - Face Parsing"
          self.input_size = 512
          self.color_format = "RGB"
          self.vram = 2304
 
</s> remove         self._segment_indices = self._get_segment_indices()
 </s> add  </s> remove         mean = (0.485, 0.456, 0.406)
        std = (0.229, 0.224, 0.225)
 </s> add         mean = (0.384, 0.314, 0.279) if self._is_faceswap else (0.485, 0.456, 0.406)
        std = (0.324, 0.286, 0.275) if self._is_faceswap else (0.229, 0.224, 0.225)
        model_filename = f"bisnet_face_parsing_v{'2' if self._is_faceswap else '1'}.h5"
  class Mask(Masker):
      """ Neural network to process face image into a segmentation mask of the face """
      def __init__(self, **kwargs):
          git_model_id = 14
        model_filename = f"bisnet_face_parsing_v{'2' if self._is_faceswap else '1'}.h5"
          super().__init__(git_model_id=git_model_id, model_filename=model_filename, **kwargs)
          self.name = "BiSeNet - Face Parsing"
          self.input_size = 512
          self.color_format = "RGB"
          self.vram = 2304
keep keep keep keep replace keep keep keep keep keep
 Bisenet-FP - Improved weights for masker (#1210)

* Add option to load faceswap trained weights

* Switch to original weights if fs weights not present

* typofix 
plugins/extract/mask/bisenet_fp.py