                                 verbose=self.verbose).landmarks
  
      def initialize(self, detector, mtcnn_kwargs):
          """ initialize Keras and Dlib """
          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)
  
          self.initialize_detector(detector, mtcnn_kwargs)
          self.initialized = True
  
      def initialize_vram(self, detector):
 
</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         if self.initialized:
            return

 </s> add  </s> remove         if self.initialized:
            return

 </s> add  </s> remove         self.initialized = False
 </s> add  </s> remove         if self.initialized:
            return

 </s> add 
        if not VRAM.initialized:
            self.initialize_vram(detector)
                                 verbose=self.verbose).landmarks
  
      def initialize(self, detector, mtcnn_kwargs):
          """ initialize Keras and Dlib """
        if not VRAM.initialized:
            self.initialize_vram(detector)
        if not VRAM.initialized:
            self.initialize_vram(detector)
        if not VRAM.initialized:
            self.initialize_vram(detector)
        if not VRAM.initialized:
            self.initialize_vram(detector)
        if not VRAM.initialized:
            self.initialize_vram(detector)
        if not VRAM.initialized:
            self.initialize_vram(detector)
  
          self.initialize_detector(detector, mtcnn_kwargs)
          self.initialized = True
  
      def initialize_vram(self, detector):
keep keep keep keep replace replace replace replace replace replace keep keep keep keep keep
 Extract - Detector reinitialization bugfix 
lib/face_alignment/extractor.py