          self._check_input(arguments.input)
          self._saver = self._set_saver(arguments)
          loader = FacesLoader if self._input_is_faces else ImagesLoader
          self._loader = loader(arguments.input)
          self._faces_saver: Optional[ImagesSaver] = None
  
          self._alignments = self._get_alignments(arguments)
          self._extractor = self._get_extractor(arguments.exclude_gpus)
          self._set_correct_mask_type()
          self._extractor_input_thread = self._feed_extractor()
 
</s> remove         self._output = dict(opts=dict(blur_kernel=arguments.blur_kernel,
                                      threshold=arguments.threshold),
                            type=arguments.output_type,
                            full_frame=arguments.full_frame,
                            suffix=self._get_output_suffix(arguments))
        self._counts = dict(face=0, skip=0, update=0)
 </s> add         self._output = {"opts": {"blur_kernel": arguments.blur_kernel,
                                 "threshold": arguments.threshold},
                        "type": arguments.output_type,
                        "full_frame": arguments.full_frame,
                        "suffix": self._get_output_suffix(arguments)}
        self._counts = {"face": 0, "skip": 0, "update": 0} </s> remove         self._cached_source_data: Dict[str, "PNGHeaderSourceDict"] = {}
 </s> add         self._cached_source_data: dict[str, PNGHeaderSourceDict] = {} </s> remove             metadata: "PNGHeaderDict" = dict(alignments=face.to_png_meta(),
                                             source=extractor_output.frame_metadata)
 </s> add             metadata: PNGHeaderDict = {"alignments": face.to_png_meta(),
                                       "source": extractor_output.frame_metadata} </s> remove                 centering: "CenteringType" = ("legacy" if self._alignments is not None and
                                              self._alignments.version == 1.0
                                              else mask.stored_centering)
 </s> add                 centering: CenteringType = ("legacy" if self._alignments is not None and
                                            self._alignments.version == 1.0
                                            else mask.stored_centering) </s> remove         self._threads: List[MultiThread] = []
 </s> add         self._threads: list[MultiThread] = []
        self._faces_saver: ImagesSaver | None = None
          self._check_input(arguments.input)
          self._saver = self._set_saver(arguments)
          loader = FacesLoader if self._input_is_faces else ImagesLoader
          self._loader = loader(arguments.input)
        self._faces_saver: ImagesSaver | None = None
  
          self._alignments = self._get_alignments(arguments)
          self._extractor = self._get_extractor(arguments.exclude_gpus)
          self._set_correct_mask_type()
          self._extractor_input_thread = self._feed_extractor()
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/mask/mask.py