          calculates landmarks """
  
      def __init__(self, input_image_bgr, detector, mtcnn_kwargs=None,
                   verbose=False, input_is_predetected_face=False):
          self.initialized = False
          self.verbose = verbose
          self.keras = KERAS_MODEL
          self.detector = None
  
          self.initialize(detector, mtcnn_kwargs)
 
</s> remove         self.output_shown = False
 </s> add  </s> remove         self.initialize_detector(detector, mtcnn_kwargs)
        self.initialized = True
 </s> add         if not self.keras.initialized:
            self.initialize_keras(detector)
            # VRAM Scaling factor must be set AFTER Keras has loaded
            VRAM.set_scale_to(detector)

        if detector == "mtcnn":
            self.detector = MTCNN_DETECTOR
        else:
            self.detector = DLIB_DETECTORS

        if not self.detector.initialized:
            self.initialize_detector(detector, mtcnn_kwargs) </s> remove             self.detector = MTCNN_DETECTOR
 </s> add  </s> remove         if self.initialized:
            return
        self.initialize_vram(detector)
        self.initialize_keras(detector)
        # VRAM Scaling factor must be set AFTER Keras has loaded
        VRAM.set_scale_to(detector)
 </s> add         if not VRAM.initialized:
            self.initialize_vram(detector)
          calculates landmarks """
  
      def __init__(self, input_image_bgr, detector, mtcnn_kwargs=None,
                   verbose=False, input_is_predetected_face=False):

          self.verbose = verbose
          self.keras = KERAS_MODEL
          self.detector = None
  
          self.initialize(detector, mtcnn_kwargs)
keep keep keep keep replace keep keep keep keep keep
 Extract - Detector reinitialization bugfix 
lib/face_alignment/extractor.py