Model testing first part modified

parent c85ca861
......@@ -587,6 +587,18 @@
"🟩 04 - Model Testing by Make Predictions"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import tensorflow as tf\n",
"import tensorflow_hub as hub\n",
"\n",
"ensemble_model = tf.keras.models.load_model('/path/to/model.h5' ,custom_objects={'KerasLayer':hub.KerasLayer})"
]
},
{
"cell_type": "code",
"execution_count": null,
......
......@@ -587,6 +587,18 @@
"🟩 04 - Model Testing by Make Predictions"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import tensorflow as tf\n",
"import tensorflow_hub as hub\n",
"\n",
"ensemble_model = tf.keras.models.load_model('/path/to/model.h5' ,custom_objects={'KerasLayer':hub.KerasLayer})"
]
},
{
"cell_type": "code",
"execution_count": null,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment