-
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
pip install mediapipe-model-maker fails #5077
Comments
Hi @GuyRubi, Could you please specifying whether macOS it is based on the Silicon chip or Intel. To reproduce and better understand the issue on our end. Thank you!! |
Hi @kuaashish |
Hi @GuyRubi, Unfortunately, you will be not able to install the latest version (0.2.1.3) of MediaPipe model maker because TensorFlow Text stopped supporting Windows, Aarch64, and Apple Macs since version 2.11 (see https://github.com/tensorflow/text#a-note-about-different-operating-system-packages). To get the latest version, you can try building the tensorflow-text package from their Github. If you are not using the text_classifier task in Model Maker (which needs tensorflow-text), you can try installing it using pip with the "--no-deps" parameter. Install each requirement separately, excluding tensorflow-text. This workaround was suggested by a user here: tensorflow/text#1206 for Windows, and you can do the same for Apple Macs. Thank you |
Thanks for the tip, ill give that a try. |
Hi @GuyRubi, Could you kindly update us on the installation status of the latest version of Model Maker on your Apple macOS? Additionally, if you have successfully installed it, could you please share the steps you followed? This information would be beneficial for other community members attempting to use MediaPipe Model Maker on Apple macOS. 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. |
Do you think that this represents the installability status for mediapipe in general on Mac M3 (or M1 and higher), or rather confined to Model Maker features? |
Hi @matanster, The problem is specific to the Model Maker. MediaPipe functions well without the Model Maker if customization for tasks, like Image Classification, is not needed. However, for customization, Model Maker is essential, and it relies on tensorflow-text, which, in turn, faces issues with Mac silicon ARM-based CPUs. 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. |
This issue was closed due to lack of activity after being marked stale for past 7 days. |
So - since this issue has been closed and I am still facing this issue, officially MediaPipe Model Maker does not support macOS on Apple Silicon? |
OS Platform and Distribution
MacOS 14.2.1
Compiler version
No response
Programming Language and version
Python 3.10.13
Installed using virtualenv? pip? Conda?(if python)
No response
MediaPipe version
0.10.9
Bazel version
No response
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
Can't install mediapipe-model-maker
Complete Logs
The text was updated successfully, but these errors were encountered: