优化训练过程
This commit is contained in:
@ -188,7 +188,9 @@ def run_commend(data: str, project: str,
|
||||
"--data=" + data,
|
||||
"--project=" + project,
|
||||
"--name=" + name,
|
||||
"--epochs=" + str(epochs)],
|
||||
"--epochs=" + str(epochs),
|
||||
"--batch-size=4",
|
||||
"--exist_ok"],
|
||||
bufsize=1, # bufsize=0时,为不缓存;bufsize=1时,按行缓存;bufsize为其他正整数时,为按照近似该正整数的字节数缓存
|
||||
shell=False,
|
||||
stdout=subprocess.PIPE,
|
||||
|
Reference in New Issue
Block a user