gsethi2409 / tf-pose-estimation

Hey! This is a clone of the tf-pose-estimation by Ildoo Kim modified to work with Tensorflow 2.0+!
Apache License 2.0
160 stars 117 forks source link

tf-pose-estimation error while running s5_test.py #22

Closed sch0722 closed 1 year ago

sch0722 commented 1 year ago

Traceback (most recent call last): File "s5_test.py", line 59, in <module> from utils.lib_openpose import SkeletonDetector File "C:\Users\Hank\Downloads\action1\src/..\utils\lib_openpose.py", line 21, in <module> from tf_pose.networks import get_graph_path, model_wh File "C:\Users\Hank\Downloads\action1\utils/../src/githubs/tf-pose-estimation\tf_pose\__init__.py", line 5, in <module> from tf_pose.runner import infer, Estimator, get_estimator File "C:\Users\Hank\Downloads\action1\utils/../src/githubs/tf-pose-estimation\tf_pose\runner.py", line 7, in <module> from tf_pose import common File "C:\Users\Hank\Downloads\action1\utils/../src/githubs/tf-pose-estimation\tf_pose\common.py", line 10, in <module> activation_fn = tf.nn.relu AttributeError: module 'tensorflow' has no attribute 'nn'

Above message is my error while I run s5_test.py. Did anyone get the same wrong?