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
I have a problem with gen_protos on aarch64 platform. #4489
Comments
Hello @Heartful-echo, Could you please elaborate your query with complete details and steps followed to reproduce the issue from our end. |
Hi @kuaashish Thank you for your comment. My steps are below. $ sed -i -e "/"imgcodecs"/d;/"calib3d"/d;/"features2d"/d;/"highgui"/d;/"video"/d;/"videoio"/d" third_party/BUILD $ sed -i -e "/^ # Optimization flags/i \ "ENABLE_NEON": "OFF"," third_party/BUILD $ sudo python3 setup.py gen_protos Next, I want to run the following command to build, but I get an error with python3 setup.py gen_protos. $ sudo python3 setup.py bdist_wheel I see a file called detection_*** added in 0.10.0. I tried changing the syntax="proto3" in the detection_*** files to syntax="proto2" and building. root@ubuntu:/mp# python3 object.py |
I could not reproduce the issue from our end. Would you please let us know the complete steps followed from the mediapipe documentation or Any link? Which you can point here that will be helpful to reproduce the issue. |
Can you provide the whl file of mediapipe0.10.0 for aarch64 in python3.8 environment? |
I am facing the same issue, i am able to provide a Dockerfile trying to build mediapipe from source. This one creates the Proto-Error aswell.
Be aware that this needs some space and time to be built but it shows how the current Proto-Error is raising. |
We do not have official wheels for aarch64 in python now. However, Support of Raspberry Pi is in our roadmap and will be available soon. |
This is very good information. I appreciate your support. |
OS Platform and Distribution
Ubuntu20.04 LTS
Compiler version
gcc/gcc+8
Programming Language and version
Python3.8
Installed using virtualenv? pip? Conda?(if python)
No response
MediaPipe version
0.10.0
Bazel version
5.1
XCode and Tulsi versions (if iOS)
No response
Android SDK and NDK versions (if android)
No response
Android AAR (if android)
None
OpenCV version (if running on desktop)
No response
Describe the problem
I have successfully built MediaPipe 0.9.3.0 on aarch64 platform, created whl file and run it on Raspberry Pi4. However, when building with MediaPipe 0.10.0 using the same procedure, the following error is output. How can i solve this problem?
Complete Logs
The text was updated successfully, but these errors were encountered: