Skip to content

Commit

Permalink
[Bugfix] Added rm -f / wget- nc command to avoid bash error in multis…
Browse files Browse the repository at this point in the history
…peaker sim notebook (#5292)

* Added rm -f command to avoid error message

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

* removed unnecessary changes

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

Signed-off-by: Taejin Park <[email protected]>
  • Loading branch information
tango4j authored Nov 8, 2022
1 parent 83cb869 commit ad9d4e8
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions tutorials/tools/Multispeaker_Simulator.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -76,7 +76,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -90,18 +90,18 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The LibriSpeech forced word alignments are from [this repository.](https://github.com/CorentinJ/librispeech-alignments). You can access to the whole LibriSpeech splits at this google drive link [link](https://drive.google.com/file/d/1WYfgr31T-PPwMcxuAq09XZfHQO5Mw8fE/view?usp=sharing). We will download the dev-clean part for demo purpose."
"The LibriSpeech forced word alignments are from [this repository](https://github.com/CorentinJ/librispeech-alignments). You can access to the whole LibriSpeech splits at this google drive [link](https://drive.google.com/file/d/1WYfgr31T-PPwMcxuAq09XZfHQO5Mw8fE/view?usp=sharing). We will download the dev-clean part for demo purpose."
]
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": null,
"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",
"!rm LibriSpeech-Alignments.zip"
"!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 All @@ -117,7 +117,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -144,8 +144,9 @@
"metadata": {},
"outputs": [],
"source": [
"!wget https://www.openslr.org/resources/28/rirs_noises.zip\n",
"!unzip -o rirs_noises.zip"
"!wget -nc https://www.openslr.org/resources/28/rirs_noises.zip\n",
"!unzip -o rirs_noises.zip\n",
"!rm -f rirs_noises.zip"
]
},
{
Expand Down

0 comments on commit ad9d4e8

Please sign in to comment.