From 163111870e78a2a7224953a89b6af5ac71cb8ed9 Mon Sep 17 00:00:00 2001 From: Eric Harper Date: Tue, 7 Mar 2023 19:37:31 -0700 Subject: [PATCH] update branch for pynini install script (#6150) Signed-off-by: ericharper --- tutorials/AudioTranslationSample.ipynb | 4 ++-- tutorials/VoiceSwapSample.ipynb | 4 ++-- .../text_processing/Text_(Inverse)_Normalization.ipynb | 2 +- tutorials/text_processing/WFST_Tutorial.ipynb | 2 +- tutorials/tts/Aligner_Inference_Examples.ipynb | 2 +- tutorials/tts/FastPitch_Finetuning.ipynb | 8 ++++---- tutorials/tts/FastPitch_MixerTTS_Training.ipynb | 2 +- tutorials/tts/Inference_DurationPitchControl.ipynb | 2 +- tutorials/tts/Inference_ModelSelect.ipynb | 2 +- tutorials/tts/Pronunciation_customization.ipynb | 2 +- tutorials/tts/Tacotron2_Training.ipynb | 2 +- 11 files changed, 16 insertions(+), 16 deletions(-) diff --git a/tutorials/AudioTranslationSample.ipynb b/tutorials/AudioTranslationSample.ipynb index 4d885389bddf..5f3f36a0a348 100644 --- a/tutorials/AudioTranslationSample.ipynb +++ b/tutorials/AudioTranslationSample.ipynb @@ -42,7 +42,7 @@ "!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[all]\n", "\n", "# install Pynini for text normalization\n", - "! wget https://raw.githubusercontent.com/NVIDIA/NeMo/main/nemo_text_processing/install_pynini.sh\n", + "! wget https://raw.githubusercontent.com/NVIDIA/NeMo/${BRANCH}/nemo_text_processing/install_pynini.sh\n", "! bash install_pynini.sh" ] }, @@ -284,4 +284,4 @@ }, "nbformat": 4, "nbformat_minor": 4 -} \ No newline at end of file +} diff --git a/tutorials/VoiceSwapSample.ipynb b/tutorials/VoiceSwapSample.ipynb index a7210c80a04c..27dc3d131083 100644 --- a/tutorials/VoiceSwapSample.ipynb +++ b/tutorials/VoiceSwapSample.ipynb @@ -43,7 +43,7 @@ "!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[all]\n", "\n", "# install Pynini for text normalization\n", - "! wget https://raw.githubusercontent.com/NVIDIA/NeMo/main/nemo_text_processing/install_pynini.sh\n", + "! wget https://raw.githubusercontent.com/NVIDIA/NeMo/${BRANCH}/nemo_text_processing/install_pynini.sh\n", "! bash install_pynini.sh" ] }, @@ -329,4 +329,4 @@ }, "nbformat": 4, "nbformat_minor": 4 -} \ No newline at end of file +} diff --git a/tutorials/text_processing/Text_(Inverse)_Normalization.ipynb b/tutorials/text_processing/Text_(Inverse)_Normalization.ipynb index ff3d4aa7171b..49ff78e33689 100755 --- a/tutorials/text_processing/Text_(Inverse)_Normalization.ipynb +++ b/tutorials/text_processing/Text_(Inverse)_Normalization.ipynb @@ -72,7 +72,7 @@ "!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[nlp]\n", "\n", "# install Pynini for text normalization\n", - "! wget https://raw.githubusercontent.com/NVIDIA/NeMo/main/nemo_text_processing/install_pynini.sh\n", + "! wget https://raw.githubusercontent.com/NVIDIA/NeMo/${BRANCH}/nemo_text_processing/install_pynini.sh\n", "! bash install_pynini.sh" ] }, diff --git a/tutorials/text_processing/WFST_Tutorial.ipynb b/tutorials/text_processing/WFST_Tutorial.ipynb index bb6121857116..f21885899867 100644 --- a/tutorials/text_processing/WFST_Tutorial.ipynb +++ b/tutorials/text_processing/WFST_Tutorial.ipynb @@ -51,7 +51,7 @@ "!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[nemo_text_processing]\n", "\n", "# install Pynini for text normalization\n", - "! wget https://raw.githubusercontent.com/NVIDIA/NeMo/main/nemo_text_processing/install_pynini.sh\n", + "! wget https://raw.githubusercontent.com/NVIDIA/NeMo/${BRANCH}/nemo_text_processing/install_pynini.sh\n", "! bash install_pynini.sh" ] }, diff --git a/tutorials/tts/Aligner_Inference_Examples.ipynb b/tutorials/tts/Aligner_Inference_Examples.ipynb index fcce03a6525b..b7435f6d69ef 100644 --- a/tutorials/tts/Aligner_Inference_Examples.ipynb +++ b/tutorials/tts/Aligner_Inference_Examples.ipynb @@ -44,7 +44,7 @@ "# !apt-get install sox libsndfile1 ffmpeg\n", "# !pip install wget text-unidecode\n", "# !python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[all]\n", - "# !wget https://raw.githubusercontent.com/NVIDIA/NeMo/main/nemo_text_processing/install_pynini.sh\n", + "# !wget https://raw.githubusercontent.com/NVIDIA/NeMo/${BRANCH}/nemo_text_processing/install_pynini.sh\n", "# !bash install_pynini.sh" ] }, diff --git a/tutorials/tts/FastPitch_Finetuning.ipynb b/tutorials/tts/FastPitch_Finetuning.ipynb index b88211be8cef..c5f6b0c15b84 100755 --- a/tutorials/tts/FastPitch_Finetuning.ipynb +++ b/tutorials/tts/FastPitch_Finetuning.ipynb @@ -62,7 +62,7 @@ "# !apt-get install sox libsndfile1 ffmpeg\n", "# !pip install wget text-unidecode pynini==2.1.4\n", "# !python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[all]\n", - "# !wget https://raw.githubusercontent.com/NVIDIA/NeMo/main/nemo_text_processing/install_pynini.sh\n", + "# !wget https://raw.githubusercontent.com/NVIDIA/NeMo/${BRANCH}/nemo_text_processing/install_pynini.sh\n", "# !bash install_pynini.sh" ] }, @@ -112,9 +112,9 @@ "\n", "```\n", "{\"audio_filepath\": \"audio/dartagnan03part1_027_dumas_0047.wav\", \"text\": \"yes monsieur\", \"duration\": 1.04, \"text_no_preprocessing\": \"Yes, monsieur.\", \"text_normalized\": \"Yes, monsieur.\"}\n", - "```" - ] - }, + "```" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/tts/FastPitch_MixerTTS_Training.ipynb b/tutorials/tts/FastPitch_MixerTTS_Training.ipynb index f43767db355d..1b85da002478 100644 --- a/tutorials/tts/FastPitch_MixerTTS_Training.ipynb +++ b/tutorials/tts/FastPitch_MixerTTS_Training.ipynb @@ -55,7 +55,7 @@ "# !apt-get install sox libsndfile1 ffmpeg\n", "# !pip install wget text-unidecode pynini==2.1.4 scipy==1.7.3\n", "# !python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[all]\n", - "# !wget https://raw.githubusercontent.com/NVIDIA/NeMo/main/nemo_text_processing/install_pynini.sh\n", + "# !wget https://raw.githubusercontent.com/NVIDIA/NeMo/${BRANCH}/nemo_text_processing/install_pynini.sh\n", "# !bash install_pynini.sh" ] }, diff --git a/tutorials/tts/Inference_DurationPitchControl.ipynb b/tutorials/tts/Inference_DurationPitchControl.ipynb index d8d761a903ef..88d7eded1ec2 100644 --- a/tutorials/tts/Inference_DurationPitchControl.ipynb +++ b/tutorials/tts/Inference_DurationPitchControl.ipynb @@ -51,7 +51,7 @@ "# !apt-get install sox libsndfile1 ffmpeg\n", "# !pip install wget text-unidecode\n", "# !python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[all]\n", - "# !wget https://raw.githubusercontent.com/NVIDIA/NeMo/main/nemo_text_processing/install_pynini.sh\n", + "# !wget https://raw.githubusercontent.com/NVIDIA/NeMo/${BRANCH}/nemo_text_processing/install_pynini.sh\n", "# !bash install_pynini.sh" ] }, diff --git a/tutorials/tts/Inference_ModelSelect.ipynb b/tutorials/tts/Inference_ModelSelect.ipynb index fc8229514d10..46922e87aa50 100644 --- a/tutorials/tts/Inference_ModelSelect.ipynb +++ b/tutorials/tts/Inference_ModelSelect.ipynb @@ -51,7 +51,7 @@ "# !apt-get install sox libsndfile1 ffmpeg\n", "# !pip install wget text-unidecode\n", "# !python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[all]\n", - "# !wget https://raw.githubusercontent.com/NVIDIA/NeMo/main/nemo_text_processing/install_pynini.sh\n", + "# !wget https://raw.githubusercontent.com/NVIDIA/NeMo/${BRANCH}/nemo_text_processing/install_pynini.sh\n", "# !bash install_pynini.sh" ] }, diff --git a/tutorials/tts/Pronunciation_customization.ipynb b/tutorials/tts/Pronunciation_customization.ipynb index 444c337a9f99..17ff72e7de07 100644 --- a/tutorials/tts/Pronunciation_customization.ipynb +++ b/tutorials/tts/Pronunciation_customization.ipynb @@ -31,7 +31,7 @@ "# !apt-get install sox libsndfile1 ffmpeg\n", "# !pip install wget text-unidecode pynini==2.1.4\n", "# !python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[all]\n", - "# !wget https://raw.githubusercontent.com/NVIDIA/NeMo/main/nemo_text_processing/install_pynini.sh\n", + "# !wget https://raw.githubusercontent.com/NVIDIA/NeMo/${BRANCH}/nemo_text_processing/install_pynini.sh\n", "# !bash install_pynini.sh" ] }, diff --git a/tutorials/tts/Tacotron2_Training.ipynb b/tutorials/tts/Tacotron2_Training.ipynb index 93ef01b673a1..0ecb1dd71594 100644 --- a/tutorials/tts/Tacotron2_Training.ipynb +++ b/tutorials/tts/Tacotron2_Training.ipynb @@ -59,7 +59,7 @@ "# !apt-get install sox libsndfile1 ffmpeg\n", "# !pip install wget text-unidecode\n", "# !python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[all]\n", - "# !wget https://raw.githubusercontent.com/NVIDIA/NeMo/main/nemo_text_processing/install_pynini.sh\n", + "# !wget https://raw.githubusercontent.com/NVIDIA/NeMo/${BRANCH}/nemo_text_processing/install_pynini.sh\n", "# !bash install_pynini.sh" ] },