Conversion ResNet50.onnx to TensorRT Engine on Jetson Nano


I need ResNet50 without top_layer to only feature extraction purpose. I create ResNet50 model (include_top=false) in keras and then export it to ONNX format. All steps are done regards to this tutorial Nvidia TensorRT Notebook

Then I move model to the Jetson Nano and do the engine creation:

/usr/src/tensorrt/bin/trtexec --onnx=/home/jetson/model/resnet50_without_top.onnx --saveEngine=/home/jetson/model/resnet_engine.trt --explicitBatch  --workspace=1024`

but when I do the prediction on jetson nano I get different result then from PC version.


TensorRT Version:
Jetson Version: nvidia-jetpack Version: 4.4-b144
Operating System + Version: Jetson and Fedora on PC
Python Version (if applicable): 3.7
TensorFlow Version (if applicable): keras

This looks like a Jetson issue. We recommend you to raise it to the respective platform from the below link


Ok. I created the topic in other place. You can remove this topic. Thank you.