  
          self.files_A = self.read_input_images(input_dir_A)
          self.files_B = self.read_input_images(input_dir_B)
  
          bs = min(len(self.files_A), len(self.files_B)) 
  
          self.images_A = self.get_image_data(self.files_A, bs)
          self.images_B = self.get_image_data(self.files_B, bs)
  
      def read_input_images(self, input_dir):
 
</s> remove         self.files_A = self.read_input_images(input_dir_A)
        self.files_B = self.read_input_images(input_dir_B)
 </s> add         self.files_a = self.read_input_images(input_dir_a)
        self.files_b = self.read_input_images(input_dir_b) </s> remove         self.images_A = self.get_image_data(self.files_A, bs)
        self.images_B = self.get_image_data(self.files_B, bs)
 </s> add         self.images_a = self.get_image_data(self.files_a, btchsz)
        self.images_b = self.get_image_data(self.files_b, btchsz) </s> remove     def read_input_images(self, input_dir):
 </s> add     @staticmethod
    def read_input_images(input_dir):
        """ Get the image paths """ </s> remove         self.rotation_angles = self.get_rotation_angles()
        self.already_processed = self.get_already_processed()
        self.input_images = self.get_input_images()
        self.images_found = len(self.input_images)
 </s> add         self.serializer = self.get_serializer()
        self.location = self.get_location()
        self.have_alignments_file = os.path.exists(self.location)
        self.data = self.load() </s> remove         self.faces = Faces(self.args)
        self.alignments = Alignments(self.args)
 </s> add         self.alignments = Alignments(self.args, True)
        self.plugins = Plugins(self.args)
        btchsz = min(len(self.files_a), len(self.files_b))
  
          self.files_A = self.read_input_images(input_dir_A)
          self.files_B = self.read_input_images(input_dir_B)
  
        btchsz = min(len(self.files_a), len(self.files_b))
  
          self.images_A = self.get_image_data(self.files_A, bs)
          self.images_B = self.get_image_data(self.files_B, bs)
  
      def read_input_images(self, input_dir):
keep keep keep keep replace keep keep keep keep keep
 Extraction - Speed improvements (#522) (#523)

* Extraction - Speed improvements (#522)

* Initial Plugin restructure

* Detectors to plugins. Detector speed improvements

* Re-implement dlib aligner, remove models, FAN to TF. Parallel processing

* Update manual, update convert, implement parallel/serial switching

* linting + fix cuda check (setup.py). requirements update keras 2.2.4

* Add extract size option. Fix dlib hog init

* GUI: Increase tooltip width

* Update alignment tool to support new DetectedFace

* Add skip existing faces option

* Fix sort tool to new plugin structure

* remove old align plugin

* fix convert -skip faces bug

* Fix convert skipping no faces frames

* Convert - draw onto transparent layer

* Fix blur threshold bug

* fix skip_faces convert bug

* Fix training 
lib/utils.py