mirror of
https://github.com/TaterTotterson/microWakeWord-Trainer-Nvidia-Docker.git
synced 2026-06-12 20:10:19 -06:00
cleanup
This commit is contained in:
@@ -115,7 +115,6 @@
|
|||||||
"from pathlib import Path\n",
|
"from pathlib import Path\n",
|
||||||
"from IPython.display import Audio, display\n",
|
"from IPython.display import Audio, display\n",
|
||||||
"\n",
|
"\n",
|
||||||
"TARGET_WORD = \"hey_tater\"\n",
|
|
||||||
"REPO_URL = \"https://github.com/rhasspy/piper-sample-generator\"\n",
|
"REPO_URL = \"https://github.com/rhasspy/piper-sample-generator\"\n",
|
||||||
"REPO_DIR = Path.cwd() / \"piper-sample-generator\"\n",
|
"REPO_DIR = Path.cwd() / \"piper-sample-generator\"\n",
|
||||||
"MODELS_DIR = REPO_DIR / \"models\"\n",
|
"MODELS_DIR = REPO_DIR / \"models\"\n",
|
||||||
@@ -243,8 +242,8 @@
|
|||||||
"cmd = [\n",
|
"cmd = [\n",
|
||||||
" sys.executable,\n",
|
" sys.executable,\n",
|
||||||
" str(REPO_DIR / \"generate_samples.py\"),\n",
|
" str(REPO_DIR / \"generate_samples.py\"),\n",
|
||||||
" target_word,\n",
|
" TARGET_WORD,\n",
|
||||||
" \"--model\", str(MODELS_DIR / MODEL_NAME), # important: specify generator .pt\n",
|
" \"--model\", str(MODELS_DIR / MODEL_NAME),\n",
|
||||||
" \"--max-samples\", \"50000\",\n",
|
" \"--max-samples\", \"50000\",\n",
|
||||||
" \"--batch-size\", \"100\",\n",
|
" \"--batch-size\", \"100\",\n",
|
||||||
" \"--output-dir\", \"generated_samples\",\n",
|
" \"--output-dir\", \"generated_samples\",\n",
|
||||||
@@ -792,13 +791,6 @@
|
|||||||
"!$cmd"
|
"!$cmd"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"cell_type": "code",
|
|
||||||
"execution_count": null,
|
|
||||||
"metadata": {},
|
|
||||||
"outputs": [],
|
|
||||||
"source": []
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": null,
|
"execution_count": null,
|
||||||
|
|||||||
Reference in New Issue
Block a user