TensorFlow sequential model is not recognising the full shape of the data
import tensorflow as tf from traffic import IMG_WIDTH, IMG_HEIGHT import cv2 import os import numpy as np model = tf.keras.models.load_model("neural-network") image = cv2.imread("gtsrb\\1\\00000_00000.ppm") image = cv2.resize(image, (IMG_WIDTH, IMG_HEIGHT)) print(image.shape) model.predict(image) The image.shape doesn’t agree with the shape that the model reads in the model.predict() line I run this code, and the image.shape is (30,30,3) but… Read More TensorFlow sequential model is not recognising the full shape of the data