Skip to content
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

[NOT FOR MERGING] Core ML Delegate Tests on iOS Device #857

Open
wants to merge 41 commits into
base: master
Choose a base branch
from

Conversation

priankakariat
Copy link
Contributor

No description provided.

@@ -88,6 +88,17 @@ StatusOr<ImageClassifierOptionsCpp> CreateImageClassifierCppOptionsFromCOptions(
cpp_options.set_score_threshold(
c_options->classification_options.score_threshold);

cpp_options.mutable_base_options()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hardcoding core ml delegate settings here since these changes are only for testing on a device.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once issues are fixed these can be implemented in the iOS framework.

@@ -24,6 +24,7 @@ objc_library(
"//tensorflow_lite_support/ios/task/processor:TFLClassificationResultHelpers",
"//tensorflow_lite_support/ios/task/vision/utils:GMLImageUtils",
"//tensorflow_lite_support/odml/ios/image:MLImage",
"@org_tensorflow//tensorflow/lite/experimental/acceleration/configuration:coreml_plugin",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have linked in the cormel_plugin target here. I am still getting the following error:
"Could not create CoreML plugin. Have you linked in the CoreML_plugin target?"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant