      cli_opts: :class:`lib.gui.options.CliOpts`
          The command line options object
      statusbar: :class:`lib.gui.custom_widgets.StatusBar`
          The GUI Status bar
      session: :class:`lib.gui.stats.Session`
          The current training Session
      """
      global _CONFIG  # pylint: disable=global-statement
      if _CONFIG is not None:
          return None
      logger.debug("Initializing config: (root: %s, cli_opts: %s, "
 
</s> remove     session: :class:`lib.gui.stats.Session`
        The current training Session
 </s> add  </s> remove                  "statusbar: %s, session: %s)", root, cli_opts, statusbar, session)
    _CONFIG = Config(root, cli_opts, statusbar, session)
 </s> add                  "statusbar: %s)", root, cli_opts, statusbar)
    _CONFIG = Config(root, cli_opts, statusbar) </s> remove     def __init__(self, root, cli_opts, statusbar, session):
        logger.debug("Initializing %s: (root %s, cli_opts: %s, statusbar: %s, session: %s)",
                     self.__class__.__name__, root, cli_opts, statusbar, session)
 </s> add     def __init__(self, root, cli_opts, statusbar):
        logger.debug("Initializing %s: (root %s, cli_opts: %s, statusbar: %s)",
                     self.__class__.__name__, root, cli_opts, statusbar) </s> remove The GUI Package contains the entire code base for Faceswap's optional GUI. The GUI itself itself
 </s> add The GUI Package contains the entire code base for Faceswap's optional GUI. The GUI itself </s> remove         """ Build the faceswap command and arguments list """
 </s> add         """ Build the faceswap command and arguments list.

        If training, pass the model folder and name to the training :class:`lib.gui.stats.Session`
        for the GUI.
        """
      cli_opts: :class:`lib.gui.options.CliOpts`
          The command line options object
      statusbar: :class:`lib.gui.custom_widgets.StatusBar`
          The GUI Status bar


      """
      global _CONFIG  # pylint: disable=global-statement
      if _CONFIG is not None:
          return None
      logger.debug("Initializing config: (root: %s, cli_opts: %s, "
keep keep keep keep replace replace keep keep keep keep keep
 GUI - Stats optimization (#1067)

* Faster stat loading + caching

* Compress data in cache

* Optimize some calculations

* Vectorize smoothing

* stats.Calculations optimized

* Load latest training data from live iterator

* Add options to training graph 
lib/gui/utils.py