saving model at the end

This commit is contained in:
frankknoll
2023-03-15 00:42:03 +01:00
parent eed59e2315
commit 34291bc082
3 changed files with 20 additions and 12 deletions

View File

@@ -38,7 +38,7 @@
"\n",
"import tensorflow as tf\n",
"from tensorflow import keras\n",
"from tensorflow.keras import layers\n"
"from tensorflow.keras import layers"
]
},
{
@@ -914,6 +914,15 @@
"source": [
"display16Predictions(prediction_model, test_dataset, predictionsDecoder)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"modelDAO.saveModel(model)"
]
}
],
"metadata": {
@@ -926,9 +935,9 @@
},
"gpuClass": "standard",
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "howbadismybatch-venv-kernel",
"language": "python",
"name": "python3"
"name": "howbadismybatch-venv-kernel"
},
"language_info": {
"codemirror_mode": {
@@ -940,12 +949,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.7"
},
"vscode": {
"interpreter": {
"hash": "916dbcbb3f70747c44a77c7bcd40155683ae19c65e1c03b4aa3499c5328201f1"
}
"version": "3.10.8"
}
},
"nbformat": 4,