          """ Run the job to remove faces from an alignments file that do not exist within a faces
          folder. """
          logger.info("[REMOVE FACES FROM ALIGNMENTS]")  # Tidy up cli output
  
          frame_face_indices = self._items.items
  
          if not frame_face_indices:
              logger.error("No matching faces found in your faces folder. This would remove all "
                           "faces from your alignments file. Process aborted.")
              return
  
          pre_face_count = self._alignments.faces_count
 
</s> remove         model = load_model(self._filename, compile=False)
 </s> add         try:
            model = load_model(self._filename, compile=False)
        except RuntimeError as err:
            if "unable to get link info" in str(err).lower():
                msg = (f"Unable to load the model from '{self._filename}'. This may be a "
                       "temporary error but most likely means that your model has corrupted.\n"
                       "You can try to load the model again but if the problem persists you "
                       "should use the Restore Tool to restore your model from backup.")
                raise FaceswapError(msg)
            raise err </s> remove         self._alignments.filter_faces(frame_face_indices, filter_out=False)
 </s> add         self._alignments.filter_faces(self._items.items, filter_out=False) </s> remove             new_index = frame_face_indices[frame].index(face_index)
 </s> add             new_index = self._items.items[frame].index(face_index)
        if not self._items.items:
          """ Run the job to remove faces from an alignments file that do not exist within a faces
          folder. """
          logger.info("[REMOVE FACES FROM ALIGNMENTS]")  # Tidy up cli output
  
        if not self._items.items:
        if not self._items.items:
        if not self._items.items:
              logger.error("No matching faces found in your faces folder. This would remove all "
                           "faces from your alignments file. Process aborted.")
              return
  
          pre_face_count = self._alignments.faces_count
keep keep keep keep replace replace replace keep keep keep keep keep
 Code updates:
  - lib.image.update_existing_meta: optimize
  - plugins.tran.model._base - Capture corrupt model errors 
tools/alignments/jobs.py