Skip to content

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

Description

@siddharthmudgal

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

Activity

  1. JieHe96 commented on Oct 9, 2017

    @JieHe96
    Owner

    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.

  2. reopened this on Oct 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions