fix fish weight calculation by using correct parameters. output video

This commit is contained in:
zaiun xu
2026-04-14 20:55:15 +08:00
parent 8497d0eb1d
commit af67f61b63
520 changed files with 4450241 additions and 337 deletions

View File

@@ -55,6 +55,8 @@ def run_action_subprocess(mp4_path: Path, settings: Settings) -> str:
os.close(out_fd)
try:
#: 使用脚本默认参数clips_per_video=10, batch_size=8, num_workers=4
#: 如需调整,请修改 FishAction/predict_video_x3d_3class.py 中的默认值
cmd = [
_py_exe(settings),
str(script),
@@ -64,12 +66,6 @@ def run_action_subprocess(mp4_path: Path, settings: Settings) -> str:
csv_path,
"--path_prefix",
path_prefix,
"--clips_per_video",
str(settings.action_clips_per_video),
"--batch_size",
str(settings.action_batch_size),
"--num_workers",
str(settings.action_num_workers),
"--output_json",
out_json,
"--log_interval",