how to use pretrained model CNN with real images various size?
If it is just about the image size, you could resize your image to have same size as model input. When you receive the output, assuming that you have bounding boxes or locations etc, you can always rescale them back to original image size. Many ML/DL frameworks provide this functionality
how to use pretrained model on 512x512 images on real images with different sizes like Yolo object detection on real image ?
CNNs require fixed image sizes, so how do you manage to use the models on real images larger than the inputs?