Skip to content

Commit

Permalink
fix path location and branch (#8304)
Browse files Browse the repository at this point in the history
* fix path location and branch

Signed-off-by: Nithin Rao Koluguri <nithinraok>

* change to a floating point number

Signed-off-by: Nithin Rao Koluguri <nithinraok>

---------

Signed-off-by: Nithin Rao Koluguri <nithinraok>
Co-authored-by: Nithin Rao Koluguri <nithinraok>
Co-authored-by: Somshubra Majumdar <titu1994@gmail.com>
  • Loading branch information
2 people authored and web-flow committed Feb 2, 2024
1 parent 5fdd12e commit b02aa43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/speaker_tasks/create_alignment_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def create_new_ctm_entry(session_name, speaker_id, wordlist, alignments, output_
start_time=align1,
duration=align2,
token=word,
conf=0,
conf=0.0,
type_of_token='lex',
speaker=speaker_id,
output_precision=output_precision,
Expand Down
6 changes: 3 additions & 3 deletions tutorials/asr/ASR_with_Transducers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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\")"
]
},
{
Expand Down

0 comments on commit b02aa43

Please sign in to comment.