Skip to content

Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.

TOLD/SOND: rename diar_smooth_size to smooth_size

志浩e361e7d59fb0
diff --git a/egs/callhome/diarization/sond/conf/basic_inference.yaml b/egs/callhome/diarization/sond/conf/basic_inference.yaml
index b45da48db..fd08c09e1 100644
--- a/egs/callhome/diarization/sond/conf/basic_inference.yaml
+++ b/egs/callhome/diarization/sond/conf/basic_inference.yaml
@@ -1,2 +1,2 @@
-diar_smooth_size: 1
+smooth_size: 1
dur_threshold: 0
diff --git a/funasr/bin/diar_inference_launch.py b/funasr/bin/diar_inference_launch.py
index d501f6877..b655df544 100755
--- a/funasr/bin/diar_inference_launch.py
+++ b/funasr/bin/diar_inference_launch.py
@@ -453,7 +453,7 @@ def get_parser():
help="The batch size for inference",
)
group.add_argument(
- "--diar_smooth_size",
+ "--smooth_size",
type=int,
default=121,
help="The smoothing size for post-processing"