Skip to content

Commit

Permalink
Adding changes to fix the mv error (NVIDIA#6087)
Browse files Browse the repository at this point in the history
* Adding changes to fix the mv error

Signed-off-by: Taejin Park <[email protected]>

* Removed unnecessary lines

Signed-off-by: Taejin Park <[email protected]>

---------

Signed-off-by: Taejin Park <[email protected]>
  • Loading branch information
tango4j authored and titu1994 committed Mar 24, 2023
1 parent fff072d commit c583f13
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions tutorials/speaker_tasks/Speaker_Diarization_Training.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@
"outputs": [],
"source": [
"import os\n",
"NEMO_DIR_PATH = \"NeMo\"\n",
"BRANCH = 'main'\n",
"\n",
"# download scripts if not already there \n",
"if not os.path.exists('NeMo/scripts'):\n",
Expand All @@ -240,8 +242,7 @@
" !wget -P NeMo/scripts/dataset_processing/ https://raw.githubusercontent.com/NVIDIA/NeMo/$BRANCH/scripts/dataset_processing/get_librispeech_data.py\n",
" !wget -P NeMo/scripts/speaker_tasks/ https://raw.githubusercontent.com/NVIDIA/NeMo/$BRANCH/scripts/speaker_tasks/create_alignment_manifest.py\n",
" !wget -P NeMo/scripts/speaker_tasks/ https://raw.githubusercontent.com/NVIDIA/NeMo/$BRANCH/scripts/speaker_tasks/create_msdd_train_dataset.py \n",
" !wget -P NeMo/scripts/speaker_tasks/ https://raw.githubusercontent.com/NVIDIA/NeMo/$BRANCH/scripts/speaker_tasks/pathfiles_to_diarize_manifest.py\n",
" "
" !wget -P NeMo/scripts/speaker_tasks/ https://raw.githubusercontent.com/NVIDIA/NeMo/$BRANCH/scripts/speaker_tasks/pathfiles_to_diarize_manifest.py"
]
},
{
Expand Down Expand Up @@ -276,9 +277,9 @@
"metadata": {},
"outputs": [],
"source": [
"!wget https://dldata-public.s3.us-east-2.amazonaws.com/LibriSpeech_Alignments.tar.gz\n",
"!tar -xvzf LibriSpeech_Alignments.tar.gz\n",
"!mv ./librispeech-alignments/LibriSpeech_Alignments ./LibriSpeech_Alignments"
"!wget -nc https://dldata-public.s3.us-east-2.amazonaws.com/LibriSpeech_Alignments.tar.gz\n",
"!tar -xzf LibriSpeech_Alignments.tar.gz\n",
"!rm -f LibriSpeech_Alignments.tar.gz"
]
},
{
Expand Down Expand Up @@ -326,6 +327,7 @@
"outputs": [],
"source": [
"from omegaconf import OmegaConf\n",
"import os\n",
"ROOT = os.getcwd()\n",
"conf_dir = os.path.join(ROOT,'conf')\n",
"!mkdir -p $conf_dir\n",
Expand Down

0 comments on commit c583f13

Please sign in to comment.