          self._info_type = info_type
          self._iterator = None
          self._description = "Reading image statistics..."
          self._loader = ImagesLoader(input_dir) if info_type == "face" else FacesLoader(input_dir)
          self._cached_source_data: Dict[str, "PNGHeaderSourceDict"] = {}
          if self._loader.count == 0:
              logger.error("No images to process in location: '%s'", input_dir)
              sys.exit(1)
  
          logger.debug("Initialized: %s", self.__class__.__name__)
 
</s> remove                  info_type: Literal["face", "meta", "all"]) -> None:
 </s> add                  info_type: T.Literal["face", "meta", "all"]) -> None: </s> remove         self._bins: Dict[int, int] = {}
 </s> add         self._bins: dict[int, int] = {} </s> remove         retval: Dict[int, Dict[str, Union[np.ndarray, List[str]]]] = {}
 </s> add         retval: dict[int, dict[str, np.ndarray | list[str]]] = {} </s> remove             val: Dict[str, Union[np.ndarray, List[str]]] = {str(metric): array}
 </s> add             val: dict[str, np.ndarray | list[str]] = {str(metric): array} </s> remove         self._images: Dict[str, "np.ndarray"] = {}
 </s> add         self._images: dict[str, np.ndarray] = {}
        self._cached_source_data: dict[str, PNGHeaderSourceDict] = {}
          self._info_type = info_type
          self._iterator = None
          self._description = "Reading image statistics..."
          self._loader = ImagesLoader(input_dir) if info_type == "face" else FacesLoader(input_dir)
        self._cached_source_data: dict[str, PNGHeaderSourceDict] = {}
          if self._loader.count == 0:
              logger.error("No images to process in location: '%s'", input_dir)
              sys.exit(1)
  
          logger.debug("Initialized: %s", self.__class__.__name__)
keep keep keep keep replace keep keep keep keep keep
 Rebase code (#1326)

* Remove tensorflow_probability requirement

* setup.py - fix progress bars

* requirements.txt: Remove pre python 3.9 packages

* update apple requirements.txt

* update INSTALL.md

* Remove python<3.9 code

* setup.py - fix Windows Installer

* typing: python3.9 compliant

* Update pytest and readthedocs python versions

* typing fixes

* Python Version updates
  - Reduce max version to 3.10
  - Default to 3.10 in installers
  - Remove incompatible 3.11 tests

* Update dependencies

* Downgrade imageio dep for Windows

* typing: merge optional unions and fixes

* Updates
  - min python version 3.10
  - typing to python 3.10 spec
  - remove pre-tf2.10 code
  - Add conda tests

* train: re-enable optimizer saving

* Update dockerfiles

* Update setup.py
  - Apple Conda deps to setup.py
  - Better Cuda + dependency handling

* bugfix: Patch logging to prevent Autograph errors

* Update dockerfiles

* Setup.py - Setup.py - stdout to utf-8

* Add more OSes to github Actions

* suppress mac-os end to end test 
tools/sort/sort_methods.py