  
  from . import cli
  
  
  class Sort(object):
      """ Sorts folders of faces based on input criteria """
      def __init__(self, arguments):
          self.args = arguments
          self.changes = None
          self.serializer = None
 
</s> remove class Convert(object):
 </s> add class Convert(): </s> remove class Train(object):
 </s> add class Train(): </s> remove class Alignments():
    """ Holds processes pertaining to the alignments file """
 </s> add class PostProcess():
    """ Optional post processing tasks """ </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 class Images():
    """ Holds the full frames/images """
    def __init__(self, arguments):
 </s> add class Alignments():
    """ Holds processes pertaining to the alignments file """
    def __init__(self, arguments, is_extract):
        self.is_extract = is_extract
class Sort():
  
  from . import cli
  
  
class Sort():
      """ Sorts folders of faces based on input criteria """
      def __init__(self, arguments):
          self.args = arguments
          self.changes = None
          self.serializer = None
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 
tools/sort.py