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 found: Op type not registered 'PlaceholderWithDefault' in binary running on iPhone. Make sure the Op and Kernel are registered in the binary running in this process. #10

Open
siddharthmudgal opened this issue Oct 4, 2017 · 1 comment

Comments

@siddharthmudgal
Copy link

siddharthmudgal commented Oct 4, 2017

Model retrained using : https://codelabs.developers.google.com/codelabs/tensorflow-for-poets/#0

The final model generated is rounded_graph.pb and retrained_labels.txt.

The above model and labels are working fine in the sample application : https://github.com/tensorflow/tensorflow/tree/master/tensorflow/examples/ios/camera

however when I put the pb and txt file with this sample application, on loading the graph I get the following error :
iOS_Tensorflow_ObjectDetection_Example/ex_SSD_Mobilenet_TF/tensorflow_utils.mm:379] Not found: Op type not registered 'PlaceholderWithDefault' in binary running on iPhone-ezy. Make sure the Op and Kernel are registered in the binary running in this process.

Tensorflow version : 1.4.0
OS : Mac 10.12

@JieHe96
Copy link
Owner

JieHe96 commented Oct 9, 2017

Currently, the example only support ssd_mobilenet_v1_coco, ssd_inception_v2_coco, faster_rcnn_resnet101_coco, which means that, if you are using different models, you need to generate the "ops_to_register.h" file by yourself. The current ops_to_register.h is only compatible for the above models.

@JieHe96 JieHe96 closed this as completed Oct 9, 2017
@JieHe96 JieHe96 reopened this Oct 9, 2017
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

No branches or pull requests

2 participants