  
      def sort_face_cnn_dissim(self):
          input_dir = self.args.input_dir
  
          print("Sorting by face-cnn dissimilarity...")
  
          img_list = []
 
</s> remove 
 </s> add         """ Sort by dlib CNN similarity """ </s> remove         img_list = [[x, face_recognition.face_encodings(cv2.imread(x)), 0]
                    for x in
 </s> add         img_list = [[img, face_recognition.face_encodings(cv2.imread(img)), 0]
                    for img in </s> remove         for x in tqdm(self.find_images(input_dir),
                      desc="Loading",
                      file=sys.stdout):
            d = face_alignment.Extract(
                input_image_bgr=cv2.imread(x),
 </s> add         for img in tqdm(self.find_images(input_dir),
                        desc="Loading",
                        file=sys.stdout):
            landmarks = face_alignment.Extract(
                input_image_bgr=cv2.imread(img),
        """ Sort by dlib CNN dissimilarity """
  
      def sort_face_cnn_dissim(self):
        """ Sort by dlib CNN dissimilarity """
          input_dir = self.args.input_dir
  
          print("Sorting by face-cnn dissimilarity...")
  
          img_list = []
keep add keep keep keep keep keep
 Sort tool bugfixes and linting 
tools/sort.py