Tensorflow model or onnx on my Jetson Nano

Hello!

I’m a beginner when it comes to the Jetson Nano. :-)

Is there any working example in Python, where I can run an exported model from Azure Custom Vision on my Jetson Nano (Tensorflow or Onnx), object detection with webcam.

Running latest JetPack, and have installed latest Tensorflow.

Best regards!

/Jonas

Hi,

Please check if below tutorial can meet your requirement:

Thanks.

Hi again!

I used the sample above with my onnx model exported från Azure Custom Vision, but I then get this error:
“Network has dynamic or shape inputs but no optimization profile has been defined”

/Jonas

Hi,

Please run the trtexec with the input dimension information.
For example:

$ /usr/src/tensorrt/bin/trtexec --onnx=[your/model] --explicitBatch --optShapes=[name]:[NxCxHxW] --verbose
$ /usr/src/tensorrt/bin/trtexec --onnx=resnet10_dynamic_batch.onnx --explicitBatch --optShapes=data:1x3x368x640 --verbose

Thanks.