Skip to content

Commit

Permalink
use GPU as accelerator
Browse files Browse the repository at this point in the history
  • Loading branch information
tugstugi committed Mar 12, 2019
1 parent 5ea29c5 commit e4642c2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
11 changes: 6 additions & 5 deletions notebooks/EnglishTTS.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
}
},
"accelerator": "GPU"
},
"cells": [
{
Expand Down Expand Up @@ -225,11 +226,11 @@
"metadata": {
"id": "jLU2p4Gq_12d",
"colab_type": "code",
"outputId": "b8ec835c-70c8-41f8-9c50-680870836daf",
"colab": {
"base_uri": "https://localhost:8080/",
"height": 1517
},
"outputId": "b8ec835c-70c8-41f8-9c50-680870836daf"
}
},
"cell_type": "code",
"source": [
Expand Down Expand Up @@ -260,7 +261,7 @@
" save_to_wav(Z[0, :, :].T, '%d.wav' % (i + 1))\n",
" IPython.display.display(Audio('%d.wav' % (i + 1), rate=hp.sr))"
],
"execution_count": 7,
"execution_count": 0,
"outputs": [
{
"output_type": "stream",
Expand Down Expand Up @@ -785,4 +786,4 @@
]
}
]
}
}
11 changes: 6 additions & 5 deletions notebooks/MongolianTTS.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
}
},
"accelerator": "GPU"
},
"cells": [
{
Expand Down Expand Up @@ -207,11 +208,11 @@
"metadata": {
"id": "jLU2p4Gq_12d",
"colab_type": "code",
"outputId": "1c102d58-90d5-4593-e71d-d02554035d17",
"colab": {
"base_uri": "https://localhost:8080/",
"height": 242
},
"outputId": "1c102d58-90d5-4593-e71d-d02554035d17"
}
},
"cell_type": "code",
"source": [
Expand Down Expand Up @@ -242,7 +243,7 @@
" save_to_wav(Z[0, :, :].T, '%d.wav' % (i + 1))\n",
" IPython.display.display(Audio('%d.wav' % (i + 1), rate=hp.sr))"
],
"execution_count": 7,
"execution_count": 0,
"outputs": [
{
"output_type": "stream",
Expand Down Expand Up @@ -325,4 +326,4 @@
]
}
]
}
}

0 comments on commit e4642c2

Please sign in to comment.