make egs/timit work according to the documentation (#1044)

* prepare.sh: restore working directory after git lfs pull
* set execute permisons on python scripts called by prepare.sh
This commit is contained in:
Peter Ross 2023-05-08 21:07:40 +10:00 committed by GitHub
parent 24b50a5bad
commit 62c9dd9703
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 3 additions and 1 deletions

0
egs/timit/ASR/local/compile_hlg.py Normal file → Executable file
View File

0
egs/timit/ASR/local/compute_fbank_timit.py Normal file → Executable file
View File

0
egs/timit/ASR/local/prepare_lang.py Normal file → Executable file
View File

0
egs/timit/ASR/local/prepare_lexicon.py Normal file → Executable file
View File

View File

@ -59,7 +59,9 @@ if [ $stage -le -1 ] && [ $stop_stage -ge -1 ]; then
# using: `sudo apt-get install git-lfs && git-lfs install`
[ ! -e $dl_dir/lm ] && mkdir -p $dl_dir/lm
git clone https://huggingface.co/luomingshuang/timit_lm $dl_dir/lm
cd $dl_dir/lm && git lfs pull
pushd $dl_dir/lm
git lfs pull
popd
fi
if [ $stage -le 0 ] && [ $stop_stage -ge 0 ]; then