YOLOv11 ONNX Export Error with Batch > 1 and NMS

It’s because with nms=True, you have to also specify max batch during export. By default, that’s 1, so it will only return predictions for the first image during inference.

1 Like