Open siddharthmudgal opened 7 years ago
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.
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