Closed Adilrn closed 4 years ago
I am experiencing difficulties running the run_webcam.py. This is the error I am getting, how could I resolve the issue? Traceback (most recent call last): File "run_webcam.py", line 8, in from tf_pose.estimator import TfPoseEstimator File "...\myWorkspace\tf-pose-estimation\tf_poseinit.py", line 5, in from tf_pose.runner import infer, Estimator, get_estimator File "...\myWorkspace\tf-pose-estimation\tf_pose\runner.py", line 8, in from tf_pose import eval File "...\myWorkspace\tf-pose-estimation\tf_pose\eval.py", line 13, in from tf_pose.estimator import TfPoseEstimator File "...\myWorkspace\tf-pose-estimation\tf_pose\estimator.py", line 14, in from tensorflow.python.compiler.tensorrt import trt_convert as trt ImportError: cannot import name 'trt_convert' from 'tensorflow.python.compiler.tensorrt'
Just for now comment out "from tensorflow.python.compiler.tensorrt import trt_convert as trt" in the estimator.py file and run the script.
Thank you!
I am experiencing difficulties running the run_webcam.py. This is the error I am getting, how could I resolve the issue? Traceback (most recent call last): File "run_webcam.py", line 8, in
from tf_pose.estimator import TfPoseEstimator
File "...\myWorkspace\tf-pose-estimation\tf_pose__init__.py", line 5, in
from tf_pose.runner import infer, Estimator, get_estimator
File "...\myWorkspace\tf-pose-estimation\tf_pose\runner.py", line 8, in
from tf_pose import eval
File "...\myWorkspace\tf-pose-estimation\tf_pose\eval.py", line 13, in
from tf_pose.estimator import TfPoseEstimator
File "...\myWorkspace\tf-pose-estimation\tf_pose\estimator.py", line 14, in
from tensorflow.python.compiler.tensorrt import trt_convert as trt
ImportError: cannot import name 'trt_convert' from 'tensorflow.python.compiler.tensorrt'