  
          feed = [feed_faces]
          logger.trace("Input shape(s): %s", [item.shape for item in feed])
  
          predicted = self._model.model.predict(feed, batch_size=batch_size)
          predicted = predicted if isinstance(predicted, list) else [predicted]
  
          if self._model.color_order.lower() == "rgb":
              predicted[0] = predicted[0][..., ::-1]
  
 
</s> remove         self._set_session(allow_growth, exclude_gpus)
 </s> add         self._set_session(allow_growth, [] if exclude_gpus is None else exclude_gpus) </s> remove         self._model = None
        logger.trace("Initialized: %s", self.__class__.__name__,)
 </s> add         self._model: Optional[Model] = None
        logger.trace("Initialized: %s", self.__class__.__name__,)  # type:ignore </s> remove     def _set_session(self, allow_growth, exclude_gpus):
 </s> add     def _set_session(self, allow_growth: bool, exclude_gpus: list) -> None:
        predicted = self._model.model.predict(feed, verbose=0, batch_size=batch_size)
  
          feed = [feed_faces]
          logger.trace("Input shape(s): %s", [item.shape for item in feed])
  
        predicted = self._model.model.predict(feed, verbose=0, batch_size=batch_size)
          predicted = predicted if isinstance(predicted, list) else [predicted]
  
          if self._model.color_order.lower() == "rgb":
              predicted[0] = predicted[0][..., ::-1]
  
keep keep keep keep replace keep keep keep keep keep
 Update TF to 2.9
    - Update TF to 2.7 to 2.9
    - Bump dependencies
    - Remove decode from pynvml calls
    - force keras predict functions to non-verbose
    - update tests
    - update Tensorboard logging
    - Update docs 
scripts/convert.py