Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update asr.sh #4827

Merged
merged 4 commits into from
Dec 16, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions egs2/TEMPLATE/asr1/asr.sh
Original file line number Diff line number Diff line change
@@ -359,9 +359,6 @@ fi
if ${use_word_lm}; then
log "Error: Word LM is not supported yet"
exit 2

lm_token_list="${wordtoken_list}"
lm_token_type=word
else
lm_token_list="${token_list}"
lm_token_type="${token_type}"
3 changes: 2 additions & 1 deletion tools/setup_anaconda.sh
Original file line number Diff line number Diff line change
@@ -56,10 +56,11 @@ if [ ! -e "${output_dir}/etc/profile.d/conda.sh" ]; then
if "${is_windows}"; then
echo "Error: Miniconda installation is not supported for Windows for now."
exit 1

# https://conda.io/projects/conda/en/latest/user-guide/install/windows.html#installing-in-silent-mode
# shellcheck disable=SC2317
_output_dir="$(realpath ${output_dir} | tr / \\)"
# FIXME(kamo): hangup
# shellcheck disable=SC2317
./"${script}" /InstallationType=JustMe /RegisterPython=0 /S /D="${_output_dir}"
else
bash "${script}" -b -p "${output_dir}"