Skip to content

Commit

Permalink
install_bs (#7019)
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolay Karpov <karpnv@gmail.com>
  • Loading branch information
karpnv authored and web-flow committed Jul 13, 2023
1 parent 5e02346 commit bcab7ca
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,15 @@ KENLM_MAX_ORDER=10 # Maximum order of KenLM model, also specified in the setup_o
cd $NEMO_PATH

if [ $(id -u) -eq 0 ]; then
alias aptupdate='apt-get update'
alias b2install='./b2'
else
alias aptupdate='sudo apt-get update'
alias b2install='sudo ./b2'
alias aptupdate='apt-get update'
alias b2install='./b2'
else
alias aptupdate='sudo apt-get update'
alias b2install='sudo ./b2'
fi

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


git clone https://github.com/NVIDIA/OpenSeq2Seq
cd OpenSeq2Seq
Expand Down

0 comments on commit bcab7ca

Please sign in to comment.