Skip to content

Commit bcab7ca

Browse files
karpnvweb-flow
authored andcommitted
install_bs (#7019)
Signed-off-by: Nikolay Karpov <[email protected]>
1 parent 5e02346 commit bcab7ca

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

scripts/asr_language_modeling/ngram_lm/install_beamsearch_decoders.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,15 @@ KENLM_MAX_ORDER=10 # Maximum order of KenLM model, also specified in the setup_o
2626
cd $NEMO_PATH
2727

2828
if [ $(id -u) -eq 0 ]; then
29-
alias aptupdate='apt-get update'
30-
alias b2install='./b2'
31-
else
32-
alias aptupdate='sudo apt-get update'
33-
alias b2install='sudo ./b2'
29+
alias aptupdate='apt-get update'
30+
alias b2install='./b2'
31+
else
32+
alias aptupdate='sudo apt-get update'
33+
alias b2install='sudo ./b2'
3434
fi
3535

36-
aptupdate && apt-get upgrade -y && apt-get install -y liblzma-dev && rm -rf /var/lib/apt/lists/* # liblzma needed for flashlight decoder'
36+
aptupdate && apt-get upgrade -y && apt-get install -y liblzma-dev && rm -rf /var/lib/apt/lists/* # liblzma needed for flashlight decoder
37+
3738

3839
git clone https://github.com/NVIDIA/OpenSeq2Seq
3940
cd OpenSeq2Seq

0 commit comments

Comments
 (0)