-
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
MacBook Pro (Retina, Mid 2012) - Catalina 10.15.7 #5752
Comments
Hi @pilipicus, Could you please confirm the latest version of the OpenCv in your system? Currently Mediapipe supports OpenCv v4. Thanks, |
Hi @kalyan2789g, Before it was the OpenCV version 4.10.0. Now, following the guide online (link), but also looking at what was written in the WORSPACE file in the mediapipe folder, I've installed the version of OpenCV 3.4.11. The error that I've receive is: Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging I've also tried to disable AVX-512 modyifing the file .bazelrc , in the root of the MediaPipe project: |
Hi @pilipicus, Could you please execute the following command to disable "avxvnni" as below and update Clang to version 18.0?
Thank you!! |
Hi @kalyan2789g, I've installed the version 18.1 because the 18.0 seems not being available or I couldn't find it: clang --version clang version 18.1.0rc After, I moved to the folder mediapipe, I run the command echo "build --define=xnn_enable_avxvnni=false" >> .bazelrc and I run again the command bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/hand_tracking:hand_tracking_cpu --verbose_failures --sandbox_debug The error that I receive Is still the same: Here the screenshot of the error: |
Hi @pilipicus, This appears to be a different error. Could you try applying a similar approach(Clang 18.1 fine) for that flag using the following command?
|
Hi @kalyan2789g, I've tried your command line and the error that I get is the following one: |
Please follow the instructions below to disable all flags. Unfortunately, we do not have an older macOS version to reproduce the issue and help with disabling the flags. clang: error: the clang compiler does not support '-mavxvnniint8’'
This is the flag. So you can disable this by passing –define=xnn_enable_avxvnniint8=false by same command. |
OS Platform and Distribution
Mac Pro Catalina 10.15.7
Compiler version
No response
Programming Language and version
C++
Installed using virtualenv? pip? Conda?(if python)
No response
MediaPipe version
0.10.19
Bazel version
No response
XCode and Tulsi versions (if iOS)
Version 12.4
Android SDK and NDK versions (if android)
No response
Android AAR (if android)
None
OpenCV version (if running on desktop)
4.10.0
Describe the problem
The provided examples do not run
Complete Logs
The text was updated successfully, but these errors were encountered: