mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
infer.sh
This commit is contained in:
parent
dee9bd8e31
commit
ffdc7ac460
@ -36,7 +36,7 @@ for JOB in $(seq ${nj}); do
|
||||
done
|
||||
perl utils/split_scp.pl ${data_dir}/wav.scp ${split_scps}
|
||||
|
||||
if ${checkpoint_dir}; then
|
||||
if -n ${checkpoint_dir}; then
|
||||
python utils/prepare_checkpoint.py ${model} ${checkpoint_dir} ${checkpoint_name}
|
||||
model=${checkpoint_dir}/${model}
|
||||
fi
|
||||
|
||||
@ -36,7 +36,7 @@ for JOB in $(seq ${nj}); do
|
||||
done
|
||||
perl utils/split_scp.pl ${data_dir}/wav.scp ${split_scps}
|
||||
|
||||
if ${checkpoint_dir}; then
|
||||
if -n ${checkpoint_dir}; then
|
||||
python utils/prepare_checkpoint.py ${model} ${checkpoint_dir} ${checkpoint_name}
|
||||
model=${checkpoint_dir}/${model}
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user