No module named 'onnx_helper'

Environment

TensorRT Version: 8.4.1.5
GPU Type: RTX3060
Nvidia Driver Version: 495.46
CUDA Version: 11.0
CUDNN Version: 8.1.0.0
Operating System + Version: Ubuntu 18.04
Python Version (if applicable): 3.6
TensorFlow Version (if applicable):
PyTorch Version (if applicable):
Baremetal or Container (if container which image + tag):

I follow the TensorRT Quick Start Guide to run Example Deployment Using ONNX model,but a ‘ModuleNotFound’ error has occurred.

>>> from onnx_helper import ONNXClassifierWrapper
ModuleNotFoundError: No module named 'onnx_helper'

I think there is a dependency package missing.
I had follow the Installation Guide to install tensorrt via tar file and verify the installation by runing sampleMNIST sucecessfully.

Hi,

Are you looking for onnx_helper? please find IntroNotebooks/onnx_helper.py here.

Thank you.

1 Like

Thanks

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