tf-pose-estimation icon indicating copy to clipboard operation
tf-pose-estimation copied to clipboard

ImportError: cannot import name 'trt_convert' from 'tensorflow.python.compiler.tensorrt'

Open ghost opened this issue 4 years ago • 8 comments
trafficstars

im having this issue. I can not get anything to run.

ghost avatar Jan 01 '21 12:01 ghost

same

Dax1805 avatar Mar 29 '21 05:03 Dax1805

Having the same issue in Tensorflow 2.2.0

MarkWijkhuizen avatar Apr 07 '21 12:04 MarkWijkhuizen

You just need to comment this line import tensorflow.contrib.tensorrt as trt in tf_pose/estimator.py

samymdihi avatar Apr 07 '21 13:04 samymdihi

You just need to comment this line import tensorflow.contrib.tensorrt as trt in tf_pose/estimator.py

yes that true

cucdengjunli avatar Apr 14 '21 06:04 cucdengjunli

You just need to comment this line import tensorflow.contrib.tensorrt as trt in tf_pose/estimator.py

I did not find this line in estimator.py to comment

instead it is tensorflow.python.compiler.tensorrt import trt_covert as trt

zubu007 avatar May 20 '21 09:05 zubu007

You just need to comment this line import tensorflow.contrib.tensorrt as trt in tf_pose/estimator.py

I did not find this line in estimator.py to comment

instead it is tensorflow.python.compiler.tensorrt import trt_covert as trt

Yes this is the one

samymdihi avatar May 20 '21 09:05 samymdihi

You just need to comment this line import tensorflow.contrib.tensorrt as trt in tf_pose/estimator.py

hii... I comment this line . but appear this error : ModuleNotFoundError: No module named 'tensorflow.contrib'

mohammed504 avatar Jun 04 '21 18:06 mohammed504

hello @samymdihi where can I find the file tf_pose/estimator.py ?

shahla-ai avatar Oct 30 '21 09:10 shahla-ai