python – Changing Shape in Image input to Match that of a Downloaded Model

I am working on a Model downloaded from github that takes as an input an image and begins a Classification process . After taking a deeper look at this model,i figured out that it expect image with type (numpy.ndarray ) and a Shape of (1, 512, 512, 1).The model downloaded predicts on a tfrecord file … Read more