Closed umi-soft closed 1 year ago
The image size is also 640
Hello. Currently, my code is written without considering dynamic batch sizes. In other words, the code only works with a batch size of 1. Based on the error message, it seems that you exported the trained model to ONNX with a batch size of 64. If you could share the trained model or provide information about the input shape through apps like Netron, I would be able to assist you further.
In both cases, we need to modify the current code
thanks, i get it.
Novice Question
Train with yolov8,option batch value 64,run your code has errors
if i set option batch value 16 and retrain,your code can run success。 I guess I need to make changes
NUM_INPUT_ELEMENTS
andINPUT_SHAPE
,but I am clear about the specific meaning of the values and how to modify them.