Upload PP-DocLayoutV3_ir8.onnx
#2
by leidawt - opened
This PR upload a new ONNX model that target ONNX IR version 8. The primary goal is to ensure compatibility with older versions of onnxruntime that do not support newer IR specifications.
Looks good to me. How did you make it compatible with IR version 8?
alex-dinh changed pull request status to merged
import onnx
model = onnx.load("./PP-DocLayoutV3.onnx")
model.ir_version = 8
onnx.save(model, "PP-DocLayoutV3_ir8.onnx")
I guess this works because PP-DocLayoutV3 doesn't use any IR 10 operators.
The transformed model is tested with onnxruntime 1.14.1 python3.7.6 @ windows 7 SP1.