# code removed - moderator
model = tf.keras.Model(inputs=input_img, outputs=outputs)
return model
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-31-f1284300b767> in <module>
----> 1 conv_model = convolutional_model((64, 64, 3))
2 conv_model.compile(optimizer='adam',
3 loss='categorical_crossentropy',
4 metrics=['accuracy'])
5 conv_model.summary()
<ipython-input-30-76e9a42a1a77> in convolutional_model(X)
17 """
18
---> 19 input_img = tf.keras.Input(shape=input_shape)
20
21
NameError: name 'input_shape' is not defined
@jonaslalin