fix fish weight calculation by using correct parameters. output video
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user