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
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