From 5aaf981d4657197e826480b3fe959ff4e4942643 Mon Sep 17 00:00:00 2001 From: Guo Liyong Date: Thu, 28 Apr 2022 20:43:06 +0800 Subject: [PATCH] fairseq installation --- egs/librispeech/ASR/codebook_index_extraction.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/egs/librispeech/ASR/codebook_index_extraction.sh b/egs/librispeech/ASR/codebook_index_extraction.sh index 9e5e477e5..383573552 100644 --- a/egs/librispeech/ASR/codebook_index_extraction.sh +++ b/egs/librispeech/ASR/codebook_index_extraction.sh @@ -13,6 +13,13 @@ bytes_per_frame=8 enable_refine=True if [ $stage -eq -1 ]; then + # Preparation state. + + # Install fairseq according to: + # https://github.com/pytorch/fairseq + # when testing this code: + # commit 806855bf660ea748ed7ffb42fe8dcc881ca3aca0 is used + echo "Download hubert model." mkdir -p ${hubert_model_dir} # For more models refer to: https://github.com/pytorch/fairseq/tree/main/examples/hubert