-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Mediapipe python interface is not working on GPU based on the newest version. #3106
Comments
Hi @hujb48 , can you refer media pipe official document for GPU issues. |
Thx for the reply, it's very nice of you. Right now, I have followed the "OpenGL ES Setup on Linux Desktop" from the page you given. The first of the part has been done successfully, which is "check if your Linux desktop GPU can run MediaPipe with OpenGL ES". Then I used this command for the building process in my virtual env, 2022/02/23 19:49:40 could not resolve the version 'latest' to an actual version number: unable to determine latest version: could not list Bazel versions in GCS bucket: could not list GCS objects at https://www.googleapis.com/storage/v1/b/bazel/o?delimiter=/: could not fetch https://www.googleapis.com/storage/v1/b/bazel/o?delimiter=/: Get "https://www.googleapis.com/storage/v1/b/bazel/o?delimiter=/": read tcp 10.10.52.142:60808->172.217.160.106:443: read: connection reset by peer So, my question is how to deal with it? By the way, I am unfamiliar with those building process, however I refer the mediapipe python guide to build a .whl file for offline installation, which can successfully be used on CPU, while it is hard to use on GPU for python. The old version of mediapipe can been operated like #2041 an #1651, but those solutions are not adapted to the latest version of mediapipe, or maybe some mistakes have made during the correction in #2691? So could you give some advise on how to run this API on GPU easily and clearly? |
MediaPipe Python package only contains CPU graphs. If you need to run any GPU graphs, see #1651 (comment). |
Yes sir, but regrettably, it isn't worked on the right now version of Mediapipe which is 0.8.9. By the way, the old version of the Mediapipe is not suitable for my project due to the absence of the 3D world coordinates of the hand. |
@hujb48 , |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you. |
Closing as stale. Please reopen if you'd like to work on this further. |
Please make sure that this is a build/installation issue and also refer to the troubleshooting documentation before raising any issues.
System information (Please provide as much relevant information as possible)
Describe the problem:
Hi, SIR, I have just followed the issue #1651 and issue #2691 to gain a '.whl' file for offline installation. The process of building is successful, then I use 'pip' command to install it offline via guide https://github.com/jiuqiant/mediapipe_python_aarch64, and then I run the 'Holistic' demo code, then got the same mistake like issue #2691. By the way, I also Imitated the example #2041 to correct the file "b/mediapipe/modules/pose_landmark/pose_landmark_gpu.pbtxt", the problem would also appeared like #2691, how could I do to solve the problem? What about "Pose" & "Hand" part? Maybe, the latest version of mediapipe is not satisfied with those solutions like #1651 #2041, and #2691?
[Provide the exact sequence of commands / steps that you executed before running into the problem]:
just like #1651 , #2691 and #2041
and follow the https://google.github.io/mediapipe/getting_started/python#building-mediapipe-python-package
Complete Logs:
Include Complete Log information or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached:
The text was updated successfully, but these errors were encountered: