This commit is contained in:
wailovet
2024-07-07 23:37:54 +08:00
parent c3cae3115d
commit 2d7d3e419f
+2
View File
@@ -452,6 +452,8 @@ def run_hook_kohya_ss_run_file(kohya_ss_tool_dir, train_config, trainer_func, ot
stderr_str = ""
if stdout is not None:
stdout_str = stdout.decode("utf-8")
# 清除制表符
stdout_str = stdout_str.replace("\t", " ")
if stderr is not None:
stderr_str = stderr.decode("utf-8")
retcode = process.poll()