How to handle images of different sizes that are smaller than the input layer of a deep learning model?
The issue was fixed by resizing the Tensor to fit into the model. I was reshaping them instead of resizing them.