Skip to content

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