Aug 8, 2023
I am not sure, i just did a vanilla code test and I don’t see much change after my 23/5 update on onnx model structure
The vanilla code test is:
model = YOLO(“yolov8n.pt”)
model.export(format=“onnx”, simplify=True, imgsz=[640,640], batch=1)
onnx_model = onnx.load_model(“yolov8n.onnx”)
And the onnx_model.graph.value_info is a list of nodes
That’s a test on Google Colab, with package versions:
PyTorch: 2.01+cu118
Ultralytics: 8.0.149
Onnx: 1.14.0