tf_trt_models
tf_trt_models copied to clipboard
ModuleNotFoundError: No module named 'tensorflow.contrib.tensorrt'
hi, I got an error when running this code line: import tensorflow.contrib.tensorrt as trt can you tell me how to slove this?
please use latest version of tensorflow gpu . by default Tf gpu are coming with trt . i am currently using tf 1.8 and it is working fine
please use latest version of tensorflow gpu . by default Tf gpu are coming with trt . i am currently using tf 1.8 and it is working fine
Tried latest version of Tensorflow(2.0). Doesn't work!
For Tensorflow(2.0) use -
from tensorflow.python.compiler.tensorrt import trt_convert as trt
This worked for me.