Hello,
You can use a network already trained, but in any case adapt your images with a resizing input with cv2. Otherwise you have to do a weight transfer learning in a new architecture that takes into account the image size you want. We’re here if you need help.