志浩
2023-08-01 5cfdcfc45a042e338c2b2f4a08dab125de3fb5ee
egs/callhome/diarization/sond/run.sh
@@ -9,7 +9,7 @@
# We recommend you run this script stage by stage.
# environment configuration
kaldi_root=/home/neo.dzh/kaldi
kaldi_root=
if [ -z "${kaldi_root}" ]; then
  echo "We need kaldi to prepare dataset, extract fbank features, please install kaldi first and set kaldi_root."
@@ -872,10 +872,11 @@
      ${infer_cmd} --gpu "${_ngpu}" --max-jobs-run "${_nj}" JOB=1:"${_nj}" "${_logdir}"/sv_inference.JOB.log \
        python -m funasr.bin.sv_inference_launch \
          --njob ${njob} \
          --batch_size 1 \
          --ngpu "${_ngpu}" \
          --gpuid_list ${gpuid_list} \
          --data_path_and_name_and_type "${key_file},speech,kaldi_ark" \
          --data_path_and_name_and_type "${key_file},speech,sound" \
          --key_file "${_logdir}"/keys.JOB.scp \
          --sv_train_config ${sv_exp_dir}/sv.yaml \
          --sv_model_file ${sv_exp_dir}/sv.pth \