              logger.debug("Initializing curret training session")
              Session.initialize_session(self._session_info["model_folder"],
                                         self._session_info["model_name"],
                                         is_training=True)
          self.wrapper.tk_vars.refresh_graph.set(True)
  
      def read_stdout(self) -> None:
          """ Read stdout from the subprocess. """
          logger.debug("Opening stdout reader")
          while True:
 
</s> remove     def read_stdout(self) -> None:
 </s> add     def _read_stdout(self) -> None: </s> remove     def read_stderr(self):
 </s> add     def _read_stderr(self) -> None: </s> remove                 output = self.process.stdout.readline()
 </s> add                 buff = self._process.stdout
                assert buff is not None
                output: str = buff.readline() </s> remove         logger.trace("tk_vars: %s", {itm: var.get()  # type:ignore
                                     for itm, var in self.wrapper.tk_vars.__dict__.items()})
 </s> add         logger.trace("tk_vars: %s", {itm: var.get()  # type:ignore[attr-defined]
                                     for itm, var in tk_vars.__dict__.items()})
        tk_vars.refresh_graph.set(True)
              logger.debug("Initializing curret training session")
              Session.initialize_session(self._session_info["model_folder"],
                                         self._session_info["model_name"],
                                         is_training=True)
        tk_vars.refresh_graph.set(True)
  
      def read_stdout(self) -> None:
          """ Read stdout from the subprocess. """
          logger.debug("Opening stdout reader")
          while True:
keep keep keep keep replace keep keep keep keep keep
 bugfix: GUI force stdout/stderr reading to utf-8 
lib/gui/wrapper.py