  
      def initialize_vram(self, detector, dlib_buffer):
          """ Initialize vram based on detector """
          VRAM.verbose = self.verbose
          VRAM.detector = detector
          if dlib_buffer > VRAM.dlib_buffer:
              VRAM.dlib_buffer = dlib_buffer
          VRAM.initialized = True
          VRAM.output_stats()
  
 
</s> remove     def initialize_vram(self, detector, dlib_buffer):
 </s> add     def initialize_vram(self, dlib_buffer): </s> remove     def initialize_keras(self, detector):
 </s> add     def initialize_keras(self): </s> remove             self.initialize_detector(detector, mtcnn_kwargs)
 </s> add             self.initialize_detector(mtcnn_kwargs) </s> remove         if detector != "mtcnn" and VRAM.device != -1:
 </s> add         if self.detector_name != "mtcnn" and VRAM.device != -1: </s> remove         if detector == "mtcnn":
 </s> add         if self.detector_name == "mtcnn":
        VRAM.detector = self.detector_name
  
      def initialize_vram(self, detector, dlib_buffer):
          """ Initialize vram based on detector """
          VRAM.verbose = self.verbose
        VRAM.detector = self.detector_name
          if dlib_buffer > VRAM.dlib_buffer:
              VRAM.dlib_buffer = dlib_buffer
          VRAM.initialized = True
          VRAM.output_stats()
  
keep keep keep keep replace keep keep keep keep keep
 Alignments Tool - Manual (#503)

* Initial alignment tool implementation

* Add face processing. Fix helptext formatting for cli and gui

* Extract faces from alignments file

* Add draw landmarks

* fix analysis hours past 24 bug

* Remove tools flag. Enlarge GUI tooltips

* Add filename extension check for image folders

* Fix folder nonetype bug and linting

* Bugfix renaming of faces

* Import alignments from DeepFaceLab

* Remove frames requirement for dfl

* Alignments Tool: Add remove frames

* Alignments: Add remove frames (#492)

* Alignments Tool: Add remove frames

* Implement Frame display for manual extract

* Alignments refactor

* Further navigation improvements

* Further navigation improvements

* Alignment Tool: Refactor

* Move rotate_image_by_angle() to utils

* Further refactoring improvements

* Reduce key bindings. Add skip to has faces, Add resize frame binding

* More navigation options. Delete faces added. Save alignments added

* Add: Reload alignments. Add extra api calls. Better redraw handling.

* Manual Alignments - Alpha Build

* Rotate landmarks for rotated images

* Rebase to remove OriginalHiRes changes 
lib/face_alignment/extractor.py