Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -149,8 +149,10 @@ Now you'll create a tf.keras model where the output layer is the last convolutio
|
|
149 |
|
150 |
"""
|
151 |
|
152 |
-
image_model = tf.keras.applications.InceptionV3(include_top=False,
|
153 |
-
|
|
|
|
|
154 |
new_input = image_model.input
|
155 |
hidden_layer = image_model.layers[-1].output
|
156 |
|
|
|
149 |
|
150 |
"""
|
151 |
|
152 |
+
# image_model = tf.keras.applications.InceptionV3(include_top=False,
|
153 |
+
# weights='imagenet')
|
154 |
+
|
155 |
+
image_model = tf.keras.models.load_model("incep.h5")
|
156 |
new_input = image_model.input
|
157 |
hidden_layer = image_model.layers[-1].output
|
158 |
|