  
  import numpy as np
  from lib.model.session import KSession
  from ._base import Masker, logger
  
  
  class Mask(Masker):
      """ Neural network to process face image into a segmentation mask of the face """
 
</s> remove         self.model.load_model()
 </s> add  </s> remove         self.model = KSession(self.name,
                              self.model_path,
                              model_kwargs=dict(),
 </s> add         self.model = VGGClear(self.model_path, </s> remove """ VGG Clear face mask plugin

Architecture and Pre-Trained Model based on...
On Face Segmentation, Face Swapping, and Face Perception
https://arxiv.org/abs/1704.06729

Source Implementation...
https://github.com/YuvalNirkin/face_segmentation

Model file sourced from...
https://github.com/YuvalNirkin/face_segmentation/releases/download/1.1/face_seg_fcn8s_300_no_aug.zip

Caffe model re-implemented in Keras by Kyle Vrooman
"""
 </s> add """ VGG Clear face mask plugin. """
from keras.layers import (Add, Conv2D, Conv2DTranspose, Cropping2D, Dropout, Input, Lambda,
                          MaxPooling2D, ZeroPadding2D)

  
  import numpy as np
from keras.layers import (Add, Conv2D, Conv2DTranspose, Cropping2D, Dropout, Input, Lambda,
                          MaxPooling2D, ZeroPadding2D)

  from lib.model.session import KSession
  from ._base import Masker, logger
  
  
  class Mask(Masker):
      """ Neural network to process face image into a segmentation mask of the face """
keep add keep keep keep keep keep keep
 bugfix - Extract - VGG Clear Mask - Fix for TF2 
plugins/extract/mask/vgg_clear.py