                  break
              if output:
                  if self.command != "train" and self.capture_tqdm(output):
                      continue
                  if self.command == "train" and output.startswith("Reading training images"):
                      print(output.strip(), file=sys.stdout)
                      continue
                  if os.name == "nt" and "Call to CreateProcess failed. Error code: 2" in output:
                      # Suppress ptxas errors on Tensorflow for Windows
                      logger.debug("Suppressed call to subprocess error: '%s'", output)
 
</s> remove                 if self.command != "train" and self.capture_tqdm(output):
 </s> add                 if self._command != "train" and self._capture_tqdm(output): </s> remove             if output == "" and self.process.poll() is not None:
 </s> add             if output == "" and self._process.poll() is not None: </s> remove         if self.command == "effmpeg" and self.capture_ffmpeg(output):
 </s> add         if self._command == "effmpeg" and self._capture_ffmpeg(output): </s> remove             if output == "" and self.process.poll() is not None:
 </s> add             if output == "" and self._process.poll() is not None: </s> remove         if self.command == "train" and self.capture_loss(output):
 </s> add         if self._command == "train" and self._capture_loss(output):
                if self._command == "train" and output.startswith("Reading training images"):
                  break
              if output:
                  if self.command != "train" and self.capture_tqdm(output):
                      continue
                if self._command == "train" and output.startswith("Reading training images"):
                      print(output.strip(), file=sys.stdout)
                      continue
                  if os.name == "nt" and "Call to CreateProcess failed. Error code: 2" in output:
                      # Suppress ptxas errors on Tensorflow for Windows
                      logger.debug("Suppressed call to subprocess error: '%s'", output)
keep keep keep keep replace keep keep keep keep keep
 bugfix: GUI force stdout/stderr reading to utf-8 
lib/gui/wrapper.py