Deploying ONNX model onto Jetson Nano

I am new to Jetson nano. I have a trained Resnet-18 model and converted into ONNX model. And i wanted to deploy this onto Jetson Nano, how can I do that?

Hi,

You can run the model with trtexec directly.

$ /usr/src/tensorrt/bin/trtexec --onnx=[your model]

And below is an example with input and output handling for your reference:

Thanks.

Hello @AastaLLL . Thanks for the reply. Finally I manage to get to the .trt file. Is this the right step? How am I suppose to do inference on Nano using this file?

Hi,

You can inference it with the sample shared above.
It is a python example with OpenCV for input/output handling.

Thanks.

1 Like

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