tensorflow / tensorrt

TensorFlow/TensorRT integration
Apache License 2.0
736 stars 226 forks source link

how to fix the tensorflow problem? #241

Open JamesTsao15 opened 3 years ago

JamesTsao15 commented 3 years ago

Error massage: Traceback (most recent call last): File "run_webcam.py", line 8, in from tf_pose.estimator import TfPoseEstimator File "C:\Users\james\Desktop\pose estimation\tf-pose-estimation\tf_pose__init__.py", line 5, in from tf_pose.runner import infer, Estimator, get_estimator File "C:\Users\james\Desktop\pose estimation\tf-pose-estimation\tf_pose\runner.py", line 8, in from tf_pose import eval File "C:\Users\james\Desktop\pose estimation\tf-pose-estimation\tf_pose\eval.py", line 13, in from tf_pose.estimator import TfPoseEstimator File "C:\Users\james\Desktop\pose estimation\tf-pose-estimation\tf_pose\estimator.py", line 14, in from tensorflow.python.compiler.tensorrt import trt ModuleNotFoundError: No module named 'tensorflow.python.compiler.tensorrt' I try to change the version of tensorflow but it does not work ,I try to change numpy version,too.I try this: import tensorflow.contrib.tensorrt as trt (used in ≤ TensorFlow 1.13.1 ) --> from tensorflow.python.compiler.tensorrt import trt (TensorFlow ≥ 1.14.1) but can not work,too