  
              retval = (os.path.basename(fullpath), sub_dict)
              yield retval
  
      def load_items(self) -> Dict[str, List[int]]:
          """ Load the face names into dictionary.
  
          Returns
          -------
 
</s> remove         kwargs = {}
        if alignments.version < 2.1:
            # Update headers of faces generated with hash based alignments
            kwargs["alignments"] = alignments
        self._items = Faces(arguments.faces_dir, **kwargs)  # type:ignore  # needs TypedDict :/
 </s> add         self._items = Faces(arguments.faces_dir, alignments=alignments) </s> remove         The alignments object that contains the faces. Used to update legacy hash based faces
        for <v2.1 alignments to png header based version. Pass in ``None`` to not update legacy
        faces (raises error instead). Default: ``None``
 </s> add         The alignments object that contains the faces. This can be used for 2 purposes:
        - To update legacy hash based faces for <v2.1 alignments to png header based version.
        - When the remove-faces job is being run, when the process will only load faces that exist
        in the alignments file. Default: ``None`` </s> remove         if self._alignments is not None:  # Legacy updating
 </s> add         if is_legacy:  # Legacy updating
        if self._alignments is not None:
            logger.debug("Faces filtered out that did not exist in alignments file: %s",
                         filter_count)

  
              retval = (os.path.basename(fullpath), sub_dict)
              yield retval
  
        if self._alignments is not None:
            logger.debug("Faces filtered out that did not exist in alignments file: %s",
                         filter_count)

      def load_items(self) -> Dict[str, List[int]]:
          """ Load the face names into dictionary.
  
          Returns
          -------
keep keep keep add keep keep keep keep keep
 bugfix: - Alignment tool - remove faces:
  - Only process faces that exist in alignments file 
tools/alignments/media.py