-
Notifications
You must be signed in to change notification settings - Fork 128
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
base: master
Are you sure you want to change the base?
Conversation
@@ -88,6 +88,17 @@ StatusOr<ImageClassifierOptionsCpp> CreateImageClassifierCppOptionsFromCOptions( | |||
cpp_options.set_score_threshold( | |||
c_options->classification_options.score_threshold); | |||
|
|||
cpp_options.mutable_base_options() |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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?"
This reverts commit d7ee00e.
No description provided.