-
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
Adding .mlpackage file into the ios example project #3741
Comments
Hi. Is there any solution on this? thanks |
Hi @yohanessatria, |
hi @kuaashish Have I written custom code: Yes In summary, I want to use the holistictrackinggpu example project to get the holistic keypoints from the user. I then want to use my custom model to predict what kind of sign language is performed by the user by utilizing these keypoints, but got an error on the BUILD file as shown in my previous comment, even though I already added the necessary files into the BUILD file. Thanks for reaching me back :) |
Hi @yohanessatria, |
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. |
So I've been trying to add a .MLPackage file to the HolisticTrackingGPU ios project. The problem is somehow the target membership for all the example projects are disabled (greyed out), thus I can't link the .mlpackage file to the holistictrackinggpu and the xcode can't can't auto generate the model class. I tried to add the model class manually by :
after completing all the mentioned steps above and run the project, I got an error in the build file (Linking mediapipe/examples/ios/holistictrackinggpu/HolisticTrackingGpuApp_bin failed: (Aborted): wrapped_clang_pp failed: error executing command ). Interestingly, when I remove step 7, I have no error. I wonder what is missing from my build file because when I use the same model and initialize it in the other project without bazel, the project runs fine.
ViewController
Build File
So my question is how to properly add a .mlpackage file in the example project so that this project can be run properly.
Thanks
The text was updated successfully, but these errors were encountered: