Skip to content
Advertisement

Tag: image-classification

MSINT – Image classification – value error incompatible shape

I am beginning with image classification using keras. Tried a simple minst dataset for detecting numbers in images. Ran the model. However I wanted to test the model on my own dataset and facing some problem. Error: WARNING:tensorflow:Model was constructed with shape (None, 28, 28) for input KerasTensor(type_spec=TensorSpec(shape=(None, 28, 28), dtype=tf.float32, name=’flatten_input’), name=’flatten_input’, description=”created by layer ‘flatten_input'”), but it was

Advertisement