mirror of
https://github.com/pstrueb/piper.git
synced 2026-04-19 23:04:49 +00:00
Added model names for a better folder structure.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
"colab": {
|
||||
"provenance": [],
|
||||
"gpuType": "T4",
|
||||
"authorship_tag": "ABX9TyNeXmx3dJVbizlWMzkfdGIj",
|
||||
"authorship_tag": "ABX9TyNzgUqXPdUDnC0fjtxDZE0P",
|
||||
"include_colab_link": true
|
||||
},
|
||||
"kernelspec": {
|
||||
@@ -33,6 +33,7 @@
|
||||
"cell_type": "markdown",
|
||||
"source": [
|
||||
"# [Piper](https://github.com/rhasspy/piper) training notebook\n",
|
||||
"## \n",
|
||||
"\n",
|
||||
"Notebook made by [rmcpantoja](http://github.com/rmcpantoja)"
|
||||
],
|
||||
@@ -107,7 +108,9 @@
|
||||
"source": [
|
||||
"#@markdown ## Install software\n",
|
||||
"#@markdown In this cell the synthesizer and its necessary dependencies to execute the training will be installed. (this may take a while)\n",
|
||||
"\n",
|
||||
"#@markdown **Note: Please restart the runtime environment when the cell execution is finished. Then you can continue with the training section.**\n",
|
||||
"\n",
|
||||
"# clone:\n",
|
||||
"!git clone https://github.com/rmcpantoja/piper\n",
|
||||
"%cd piper/src/python\n",
|
||||
@@ -231,11 +234,15 @@
|
||||
" return languages[code]\n",
|
||||
"\n",
|
||||
"final_language = _get_language(language)\n",
|
||||
"#@markdown ### Choose a name for your model:\n",
|
||||
"model_name = \"Test\" #@param {type:\"string\"}\n",
|
||||
"#@markdown ---\n",
|
||||
"# output:\n",
|
||||
"#@markdown ### Choose the working folder. (recommended to save to Drive)\n",
|
||||
"\n",
|
||||
"#@markdown The working folder will be used in preprocessing, but also in training the model.\n",
|
||||
"output_dir = \"/content/drive/MyDrive/colab/piper\" #@param {type:\"string\"}\n",
|
||||
"output_path = \"/content/drive/MyDrive/colab/piper\" #@param {type:\"string\"}\n",
|
||||
"output_dir = output_path+\"/\"+model_name\n",
|
||||
"if not os.path.exists(output_dir):\n",
|
||||
" os.makedirs(output_dir)\n",
|
||||
"#@markdown ---\n",
|
||||
|
||||
Reference in New Issue
Block a user