          """ Process the face renaming """
          logger.info("[RENAME FACES]")  # Tidy up cli output
          rename_count = 0
          for frame, details, _, frame_fullname in tqdm(self.alignments.yield_faces(),
                                                  desc="Renaming Faces",
                                                  total=self.alignments.frames_count):
              rename_count += self.rename_faces(frame, frame_fullname, details)
          logger.info("%s faces renamed", rename_count)
  
      def rename_faces(self, frame, frame_fullname, details):
          """ Rename faces
 
</s> remove         self.hashes_to_frame.setdefault(alignment["hash"], dict())[frame] = idx
 </s> add         self._hashes_to_frame.setdefault(alignment["hash"], dict())[frame] = idx </s> remove         frames = set([item["frame_fullname"] for item in self.items])
 </s> add         frames = set(item["frame_fullname"] for item in self.items) </s> remove             face_filter = dict(detector=self.args.detector.replace("-", "_").lower(),
                               aligner=self.args.aligner.replace("-", "_").lower(),
 </s> add             if hasattr(self.args, "detector"):
                detector = self.args.detector.replace("-", "_").lower()
            else:
                detector = "cv2_dnn"
            if hasattr(self.args, "aligner"):
                aligner = self.args.aligner.replace("-", "_").lower()
            else:
                aligner = "cv2_dnn"

            face_filter = dict(detector=detector,
                               aligner=aligner,
                                                      desc="Renaming Faces",
                                                      total=self.alignments.frames_count):
          """ Process the face renaming """
          logger.info("[RENAME FACES]")  # Tidy up cli output
          rename_count = 0
          for frame, details, _, frame_fullname in tqdm(self.alignments.yield_faces(),
                                                      desc="Renaming Faces",
                                                      total=self.alignments.frames_count):
                                                      desc="Renaming Faces",
                                                      total=self.alignments.frames_count):
              rename_count += self.rename_faces(frame, frame_fullname, details)
          logger.info("%s faces renamed", rename_count)
  
      def rename_faces(self, frame, frame_fullname, details):
          """ Rename faces
keep keep keep keep replace replace keep keep keep keep keep
 Bugfixes

Merge Alignments fix
Face Filter. Set default aligner/detector on convert 
tools/lib_alignments/jobs.py