From 981a7c77a7cde9a7122a349658c76ba87b09167e Mon Sep 17 00:00:00 2001 From: Nithin Rao Date: Fri, 2 Feb 2024 12:24:24 -0500 Subject: [PATCH 1/2] fix path location and branch (#8304) * fix path location and branch Signed-off-by: Nithin Rao Koluguri * change to a floating point number Signed-off-by: Nithin Rao Koluguri --------- Signed-off-by: Nithin Rao Koluguri Co-authored-by: Nithin Rao Koluguri Co-authored-by: Somshubra Majumdar --- tutorials/asr/ASR_with_Transducers.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tutorials/asr/ASR_with_Transducers.ipynb b/tutorials/asr/ASR_with_Transducers.ipynb index 052c6a6b65eb..29d64c89196a 100644 --- a/tutorials/asr/ASR_with_Transducers.ipynb +++ b/tutorials/asr/ASR_with_Transducers.ipynb @@ -31,7 +31,7 @@ "!pip install matplotlib>=3.3.2\n", "\n", "## Install NeMo\n", - "BRANCH = 'r1.21.0'\n", + "BRANCH = 'r1.23.0'\n", "!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[all]\n", "\n", "## Grab the config we'll use in this example\n", @@ -191,7 +191,7 @@ " file_id[file_id.find('-')+1 : file_id.rfind('-')],\n", " file_id + '.wav')\n", "\n", - " duration = librosa.core.get_duration(filename=audio_path)\n", + " duration = librosa.core.get_duration(path=audio_path)\n", "\n", " # Write the metadata to the manifest\n", " metadata = {\n", @@ -338,7 +338,7 @@ "source": [ "from omegaconf import OmegaConf, open_dict\n", "\n", - "config = OmegaConf.load(\"/content/configs/contextnet_rnnt.yaml\")" + "config = OmegaConf.load(\"configs/contextnet_rnnt.yaml\")" ] }, { From 0ee82f8522549ce894fb1d4204ae409aacb562f7 Mon Sep 17 00:00:00 2001 From: Nithin Rao Koluguri Date: Wed, 14 Feb 2024 15:30:08 -0800 Subject: [PATCH 2/2] updat ebranch in tutorial Signed-off-by: Nithin Rao Koluguri --- tutorials/asr/ASR_with_Transducers.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/asr/ASR_with_Transducers.ipynb b/tutorials/asr/ASR_with_Transducers.ipynb index 29d64c89196a..d20042b9b970 100644 --- a/tutorials/asr/ASR_with_Transducers.ipynb +++ b/tutorials/asr/ASR_with_Transducers.ipynb @@ -31,7 +31,7 @@ "!pip install matplotlib>=3.3.2\n", "\n", "## Install NeMo\n", - "BRANCH = 'r1.23.0'\n", + "BRANCH = 'main'\n", "!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[all]\n", "\n", "## Grab the config we'll use in this example\n",