After changing the input image size from 640*640 to 320*320, it crashes at the infer() function. What could be the reason and how can I fix it?