          VRAM.verbose = self.verbose
          VRAM.detector = detector
          VRAM.output_stats()
  
      def initialize_keras(self, detector):
          """ Initialize keras. Allocate vram to tensorflow
              based on detector """
          ratio = None
 
</s> remove         self.initialize_keras(detector)
        self.initialize_detector(detector, mtcnn_kwargs)
        self.initialized = True
 </s> add         if not self.detector.initialized:
            self.initialize_detector(detector, mtcnn_kwargs) </s> remove         self.output_shown = False
 </s> add  </s> remove             self.detector = MTCNN_DETECTOR
 </s> add  </s> remove         if self.initialized:
            return

 </s> add 
        VRAM.initialized = True
          VRAM.verbose = self.verbose
          VRAM.detector = detector
        VRAM.initialized = True
          VRAM.output_stats()
  
      def initialize_keras(self, detector):
          """ Initialize keras. Allocate vram to tensorflow
              based on detector """
          ratio = None
keep add keep keep keep keep keep keep
 Merge staging to Master (#470)

* DLib scaling amends (#461)

* Scaling area fix and rework of frames and bounding boxes

* Update DLib scaling and initialization

* Extract - Detector reinitialization bugfix

* Slight OriginaHightRes Model re-factoring (#464)

* Model re-factoring, might fix red screen of death on multi-gpu configurations

* Limited trainer support for various INPUT_SIZE

* Auto Extraction multiprocess bugfix

* Sort tool bugfixes and linting 
lib/face_alignment/extractor.py