-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
ValidatedGraphConfig Initialization Failed #5168
Comments
I was able to replicate this error on an M1 mac with 3.11.7, running mediapipe 0.10.10, trying to run mediapipe holistic pose estimation. Downgrading to 0.10.9 fixed this issue. It appears to happen on intel macs too, as I only tested the upgrade while trying to fix an issue from someone running 0.10.10 on an intel mac |
Thanks for the tip. I was facing the same issue on my M3 Mac and downgrading mediapipe to 0.10.9 did resolve it. |
yeaaaaah same, downgrading from 0.10.10 to 0.10.9 worked for me, thanks big dog |
Thanks a lot!!!! Downgrading to 0.10.9 worked for mi, too (apple M2) |
Thanks a lot, you guys saved my day. Downgrading MediaPipe to 0.10.9 works like a charm ! |
I get the same error starting with 0.10.10 on a Mac M2 when loading legacy models (FaceMesh or Hands):
|
I was able to replicate this issue with mediapipe 0.10.11 on my M1 (Monterey) Mac as well. |
Is there any solution? I have the same error! |
I'm getting the same error when running mediapipe.solutions.pose.Pose(), and downgrading to 0.10.9 didn't work. |
i m also getting same error in mac M1 , is there any solution |
Hi @AdityaBeewal, Could you please outline the complete steps you are following, referring to the documentation or standalone code, to replicate the issue and subsequently resolve it if necessary? Thank you!! |
This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you. |
downgrading mediapipe from 0.10.11 to 0.10.9 worked for me on my m1 mac :) |
@kuaashish Is any work being done on this? The past two releases on mac error when trying to use any of the legacy solutions. Will this be fixed or are the legacy solutions deprecated? Below is the full error message. The list of errors seems relatively straightforward, although I'm not familiar enough with the inner workings of mediapipe to tackle it myself.
|
Thanks a lot, downgrading mediapipe to 0.10.9 worked for me as well. I've Macbook Air M1. |
Hi @philipqueen, If the issue stems from legacy solutions, we believe it will not be addressed, as we have already deprecated and ceased maintenance on them. Thank you!! |
@kuaashish thanks for the response. Maybe it's best if mediapipe adds a deprecation warning when trying to run code like this? It seems even for solutions that are still maintained (hands, pose), they fail with a calculator graph error. Checking the documentation, it seems there's new code recommended on for the maintained solutions: import mediapipe as mp
BaseOptions = mp.tasks.BaseOptions
PoseLandmarker = mp.tasks.vision.PoseLandmarker
PoseLandmarkerOptions = mp.tasks.vision.PoseLandmarkerOptions
VisionRunningMode = mp.tasks.vision.RunningMode
options = PoseLandmarkerOptions(
base_options=BaseOptions(model_asset_path=model_path),
running_mode=VisionRunningMode.IMAGE)
with PoseLandmarker.create_from_options(options) as landmarker:
# The landmarker is initialized. Use it here. But accessing the old method like I think the expected behavior would be either an import error when trying to import the solutions this way, or a logged warning that this is no longer the proper way of calling this solution. |
Hi, I built an extensive application on Where can I find details on how to refactor my code to use the latest API please? |
I quite don't understand. If I'm using legacy code, why it does work with |
thank you worked for me too on M1 |
hey, i use m1 mac too, but it not work for me, help me |
hey @arnabdotpy, i've macbook air m1 too, but downgrading mediapipe 0.10.9 not work for me. help me pls |
Also having this issue on M1 |
Thanks for the information! Same error on an M3 Mac with python 3.10.11, running mediapipe 0.10.11. Downgrading to 0.10.9 also worked for me! |
https://developers.google.com/mediapipe/solutions/guide#legacy |
The legacy solutions seem to work with 0.10.13 on Mac again :)
|
OS Platform and Distribution
MacOS ARM
Compiler version
No response
Programming Language and version
Python 3.11.8
Installed using virtualenv? pip? Conda?(if python)
virtualenv pip
MediaPipe version
0.10.10
Bazel version
7.0.2
XCode and Tulsi versions (if iOS)
15.2
Android SDK and NDK versions (if android)
No response
Android AAR (if android)
None
OpenCV version (if running on desktop)
4.9.0
Describe the problem
It gives me errors everytime I run anything that relates to mediapipe. CV runs great, but when trying to use hands = mpHands.Hands(), hands = mp.solutions.hands, I get the error. Is it because I'm running on Mac ARM? I
Complete Logs
The text was updated successfully, but these errors were encountered: