Subgraph surgery in ONNX model

I have a large ONNX model, and I need to replace a specific section of it with another ONNX model. I’m currently stuck and unsure how to proceed. Could you please provide suggestions on how to accomplish this effectively?
@DaneLLL

Hi,
For information, do you use AGX Xavier/Jetpack 5.1.4? Would like to know information about your setup.

Hi @DaneLLL,
I am using jetpack 5.1.4

Hi,

You can try our ONNX graphsurgeon tool.

Thanks.

Hi @AastaLLL ,
Could you please provide a sample code snippet demonstrating subgraph surgery usinng your ONNX graph surgeon, specifically for replacing a section of an ONNX model with another ONNX model? Thank you in advance for your help!

Hi,

We don’t have exactly the same example.

But you can find some split/create samples in the below folder:

Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.