Module ‘tensorrt’ has no attribute ‘volume’

Description

A clear and concise description of the bug or issue.

Environment

TensorRT Version: 8.5.2.2
GPU Type: Jetson orin nano(8g)
Nvidia Driver Version: jetpack5.1.1
CUDA Version: 11.4.19
CUDNN Version: 8.6.0
Operating System + Version: Jetson Linux 35.3.1
Python Version (if applicable): 3.8
TensorFlow Version (if applicable):
PyTorch Version (if applicable): 1.12.0
Baremetal or Container (if container which image + tag):

Relevant Files

Please attach or include links to any models, data, files, or scripts necessary to reproduce your issue. (Github repo, Google Drive, Dropbox, etc.)

Steps To Reproduce

Please include:

  • Exact steps/commands to build your repro
  • Exact steps/commands to run your repro
  • Full traceback of errors encountered

Hi,

This looks like a Jetson issue. Please refer to the below samples in case useful.

For any further assistance, we will move this post to to Jetson related forum.

Thanks!

I have solved this problem, because I set up the virtual environment, when soft linking tensorrt, it didn’t include all the files

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