Hi,
Can you pls check if tensorrt is installed in your conda environment python and not on the system python.
You can refer to the below links for details -
Thank you. I finally got it working. I’d three python installations: python 2.7 coming with ubuntu, python 3.5 coming with ubuntu and anaconda python 3.5 that I’d installed myself. Got rid of Anaconda 3.5 as I couldn’t control where tensorrt is installed and made 3.5 the default one and reinstalled tensorrt, python packages as well as pycuda. Now, it’s working.
Did you import tensorflow and uff before?
Like this:
import tensorflow as tf
import uff
import tensorrt as trt
And are you sure tensorrt is installed in your conda environment python and not on the system python?
Thanks!