fix: bug in infer script (#290)

The fix proposed by @Gaozhongpai. Thank you @Gaozhongpai.
This commit is contained in:
Zhizhou Zhong
2025-04-03 11:09:09 +08:00
committed by GitHub
parent 39ccf69f36
commit 23d88dcfb9

View File

@@ -59,13 +59,13 @@ cmd_args="--inference_config $config_path \
--result_dir $result_dir \ --result_dir $result_dir \
--unet_model_path $unet_model_path \ --unet_model_path $unet_model_path \
--unet_config $unet_config \ --unet_config $unet_config \
--version $version_arg \ --version $version_ar"
# Add realtime-specific arguments if in realtime mode # Add realtime-specific arguments if in realtime mode
if [ "$mode" = "realtime" ]; then if [ "$mode" = "realtime" ]; then
cmd_args="$cmd_args \ cmd_args="$cmd_args \
--fps 25 \ --fps 25 \
--version $version_arg \ --version $version_arg"
fi fi
# Run inference # Run inference