python时区问题

部分接口返回的问题
This commit is contained in:
2025-03-07 09:56:09 +08:00
parent 865b077a91
commit 758082db14
6 changed files with 36 additions and 10 deletions

View File

@ -190,7 +190,7 @@ def run_commend(data: str, project: str,
"--name=" + name,
"--epochs=" + str(epochs),
"--batch-size=4",
"--exist_ok"],
"--exist-ok"],
bufsize=1, # bufsize=0时为不缓存bufsize=1时按行缓存bufsize为其他正整数时为按照近似该正整数的字节数缓存
shell=False,
stdout=subprocess.PIPE,