Update basic_training_notebook.ipynb

This commit is contained in:
MasterPhooey
2025-01-03 08:13:49 -06:00
committed by GitHub
parent 1ec6dc6534
commit 8d512f7750

View File

@@ -533,54 +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": [],
"metadata": { "source": [
"accelerator": "GPU", "import shutil\n",
"colab": { "from IPython.display import FileLink\n",
"gpuType": "T4", "\n",
"provenance": [] "# 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",
"kernelspec": { "destination_path = \"./stream_state_internal_quant.tflite\"\n",
"display_name": ".venv", "\n",
"language": "python", "# Copy the file to the current working directory\n",
"name": "python3" "shutil.copy(source_path, destination_path)\n",
}, "\n",
"language_info": { "# Generate a link to download the file\n",
"codemirror_mode": { "print(\"Download your file:\")\n",
"name": "ipython", "FileLink(destination_path)"
"version": 3 ]
}, }
"file_extension": ".py", ],
"mimetype": "text/x-python", "metadata": {
"name": "python", "accelerator": "GPU",
"nbconvert_exporter": "python", "colab": {
"pygments_lexer": "ipython3", "gpuType": "T4",
"version": "3.10.15" "provenance": []
} },
}, "kernelspec": {
"nbformat": 4, "display_name": ".venv",
"nbformat_minor": 0 "language": "python",
} "name": "python3"
},
"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
}