Tf-pose-estimation: ModuleNotFoundError: No module named 'tensorflow.contrib.tensorrt'

Created on 3 Nov 2019  路  3Comments  路  Source: ildoonet/tf-pose-estimation

File "C:\Users\Jayden\tf-pose-estimation-master\tf_pose\estimator.py", line 14, in
import tensorflow.contrib.tensorrt as trt

ModuleNotFoundError: No module named 'tensorflow.contrib.tensorrt'

Most helpful comment

I solved it simply by going to \tf-pose\estimator.py and commenting out import tensorflow.contrib.tensorrt as trt.

All 3 comments

Kindly use tensorflow 1.14, it works fine with it
or
create new environment
pip uninstall tensorflow
pip install tensorflow==1.14

I solved it simply by going to \tf-pose\estimator.py and commenting out import tensorflow.contrib.tensorrt as trt.

I solved it simply by going to \tf-pose\estimator.py and commenting out import tensorflow.contrib.tensorrt as trt.

Thanks a lot!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

manoharthondapu picture manoharthondapu  路  4Comments

ildoonet picture ildoonet  路  3Comments

khaerulumam42 picture khaerulumam42  路  6Comments

ildoonet picture ildoonet  路  4Comments

gen21kawa picture gen21kawa  路  5Comments