Change args from output_dir to model_name

This commit is contained in:
litagin02
2024-02-19 19:16:41 +09:00
parent 4c8ea82959
commit 79f20fafbb
2 changed files with 21 additions and 11 deletions

View File

@@ -25,11 +25,10 @@ def do_slice(
if model_name == "":
return "Error: モデル名を入力してください。"
logger.info("Start slicing...")
output_dir = os.path.join(dataset_root, model_name, "raw")
cmd = [
"slice.py",
"--output_dir",
output_dir,
"--model_name",
model_name,
"--min_sec",
str(min_sec),
"--max_sec",