The fix_data_dir.sh script eliminates some utterances if something is missing from one of the files needed (e.g. text, feats.scp, wav.scp) so if you had an empty or invalid wav.scp at input, it would delete everything and then die.
原因是text文件为空,因为与音频内容无关,直接删除text文件。
再运行fix_data_dir.sh,得到:
fix_data_dir.sh: kept all 80 utterances
成功解决!
参考:https://sourceforge.net/p/kaldi/discussion/1355347/thread/88b4f630/