Python and Tensorflow Image classifier got Error during training: Argument `output` must have rank (ndim) `target.ndim – 1
I am creating a model using Python and Tensorflow to scan a folder structure with images and metadata associated to those images that are saved in a text file (CSV). I am trying to train the model using both the images stored in a certain folder alongside with the metadata associated, but when it comes to the prediction, I will need only a image to execute it. This is the code of my model:
How to Fix Shape Mismatch in TensorFlow when attempting to create a model from a trained data set
I am working with machine learning project using TensorFlow and Keras to process audio data. The project is designed to handle inputs with multiple channels, but there’s an issue during the training phase where the input shape does not match the expected model input shape.