mirror of
https://github.com/TaterTotterson/microWakeWord-Trainer-Nvidia-Docker.git
synced 2026-06-12 20:10:19 -06:00
Update basic_training_notebook.ipynb
This commit is contained in:
@@ -533,53 +533,54 @@
|
|||||||
"--stride 3"
|
"--stride 3"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": null,
|
"execution_count": null,
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"id": "ex_UIWvwtjAN"
|
"id": "ex_UIWvwtjAN"
|
||||||
|
},
|
||||||
|
"outputs": [],
|
||||||
|
"source": [
|
||||||
|
"import shutil\n",
|
||||||
|
"from IPython.display import FileLink\n",
|
||||||
|
"\n",
|
||||||
|
"# Define the source path and desired download location\n",
|
||||||
|
"source_path = \"trained_models/wakeword/tflite_stream_state_internal_quant/stream_state_internal_quant.tflite\"\n",
|
||||||
|
"destination_path = \"./stream_state_internal_quant.tflite\"\n",
|
||||||
|
"\n",
|
||||||
|
"# Copy the file to the current working directory\n",
|
||||||
|
"shutil.copy(source_path, destination_path)\n",
|
||||||
|
"\n",
|
||||||
|
"# Generate a link to download the file\n",
|
||||||
|
"print(\"Download your file:\")\n",
|
||||||
|
"FileLink(destination_path)"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"outputs": [],
|
{
|
||||||
"source": [
|
"metadata": {
|
||||||
"import shutil\n",
|
"accelerator": "GPU",
|
||||||
"from IPython.display import FileLink\n",
|
"colab": {
|
||||||
"\n",
|
"gpuType": "T4",
|
||||||
"# Define the source path and desired download location\n",
|
"provenance": []
|
||||||
"source_path = \"trained_models/wakeword/tflite_stream_state_internal_quant/stream_state_internal_quant.tflite\"\n",
|
},
|
||||||
"destination_path = \"./stream_state_internal_quant.tflite\"\n",
|
"kernelspec": {
|
||||||
"\n",
|
"display_name": ".venv",
|
||||||
"# Copy the file to the current working directory\n",
|
"language": "python",
|
||||||
"shutil.copy(source_path, destination_path)\n",
|
"name": "python3"
|
||||||
"\n",
|
},
|
||||||
"# Generate a link to download the file\n",
|
"language_info": {
|
||||||
"print(\"Download your file:\")\n",
|
"codemirror_mode": {
|
||||||
"FileLink(destination_path)"
|
"name": "ipython",
|
||||||
]
|
"version": 3
|
||||||
},
|
},
|
||||||
"metadata": {
|
"file_extension": ".py",
|
||||||
"accelerator": "GPU",
|
"mimetype": "text/x-python",
|
||||||
"colab": {
|
"name": "python",
|
||||||
"gpuType": "T4",
|
"nbconvert_exporter": "python",
|
||||||
"provenance": []
|
"pygments_lexer": "ipython3",
|
||||||
},
|
"version": "3.10.15"
|
||||||
"kernelspec": {
|
}
|
||||||
"display_name": ".venv",
|
},
|
||||||
"language": "python",
|
"nbformat": 4,
|
||||||
"name": "python3"
|
"nbformat_minor": 0
|
||||||
},
|
}
|
||||||
"language_info": {
|
|
||||||
"codemirror_mode": {
|
|
||||||
"name": "ipython",
|
|
||||||
"version": 3
|
|
||||||
},
|
|
||||||
"file_extension": ".py",
|
|
||||||
"mimetype": "text/x-python",
|
|
||||||
"name": "python",
|
|
||||||
"nbconvert_exporter": "python",
|
|
||||||
"pygments_lexer": "ipython3",
|
|
||||||
"version": "3.10.15"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nbformat": 4,
|
|
||||||
"nbformat_minor": 0
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user