          return img_list
  
      def sort_face_cnn_dissim(self):
          """ Sort by CNN dissimilarity """
          self.launch_aligner(self.args.loglevel)
          input_dir = self.args.input_dir
  
          logger.info("Sorting by face-cnn dissimilarity...")
  
          img_list = []
 
</s> remove         self.launch_aligner(self.args.loglevel)
 </s> add         self.launch_aligner() </s> remove         self.launch_aligner(self.args.loglevel)
 </s> add         self.launch_aligner() </s> remove             def renaming(src, output_dir, i, changes):
 </s> add             def renaming(src, output_dir, i, changes):  # pylint: disable=unused-argument </s> remove         image = cv2.imread(image_file, cv2.IMREAD_GRAYSCALE)
 </s> add         image = cv2.imread(image_file)
        if image.ndim == 3:
            image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) </s> remove     @staticmethod
    def launch_aligner(loglevel):
 </s> add     def launch_aligner(self):
        self.launch_aligner()
          return img_list
  
      def sort_face_cnn_dissim(self):
          """ Sort by CNN dissimilarity """
        self.launch_aligner()
          input_dir = self.args.input_dir
  
          logger.info("Sorting by face-cnn dissimilarity...")
  
          img_list = []
keep keep keep keep replace keep keep keep keep keep
 Sort tool. Image grayscale conversion bugfix 
tools/sort.py