Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'tf_pose' #81

Open
Coder-Vishali opened this issue May 2, 2022 · 3 comments
Open

ModuleNotFoundError: No module named 'tf_pose' #81

Coder-Vishali opened this issue May 2, 2022 · 3 comments

Comments

@Coder-Vishali
Copy link

(har_venv) C:\Users\VISHALI\Desktop\Realtime-Action-Recognition-master>python src/s5_test.py --model_path model/trained_classifier.pickle --data_type video
--data_path data_test/exercise.avi --output_folder output
Traceback (most recent call last):
File "C:\Users\VISHALI\Desktop\Realtime-Action-Recognition-master\src\s5_test.py", line 57, in
from utils.lib_openpose import SkeletonDetector
File "C:\Users\VISHALI\Desktop\Realtime-Action-Recognition-master\src/..\utils\lib_openpose.py", line 21, in
from tf_pose.networks import get_graph_path, model_wh
ModuleNotFoundError: No module named 'tf_pose'

@felixchenfy
Copy link
Owner

Sorry I don't have a quick answer now, since it's been many years since I worked on it.
Thanks for reporting the issue anyway

@StuartsFish
Copy link

(har_venv) C:\Users\VISHALI\Desktop\Realtime-Action-Recognition-master>python src/s5_test.py --model_path model/trained_classifier.pickle --data_type video --data_path data_test/exercise.avi --output_folder output Traceback (most recent call last): File "C:\Users\VISHALI\Desktop\Realtime-Action-Recognition-master\src\s5_test.py", line 57, in from utils.lib_openpose import SkeletonDetector File "C:\Users\VISHALI\Desktop\Realtime-Action-Recognition-master\src/..\utils\lib_openpose.py", line 21, in from tf_pose.networks import get_graph_path, model_wh ModuleNotFoundError: No module named 'tf_pose'

You need to put the code of tf-pose-estimation into the "src\github".
Have a look at the "lib_openpose.py".
or
Try to put the code"from tf_pose import..." behind the code "sys.append...."

@DukeZacharia
Copy link

i tried it out by using pip and it worked for me well.

pip install tf-pose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants