Failed to load model from 'file:///android_asset/ssd_mobilenet_v1_android_export.pb' ( android )

328 views
Skip to first unread message

boby.s...@gmail.com

unread,
Nov 28, 2017, 6:11:54 AM11/28/17
to Discuss
Hi Everyone,
i am trying to build object detection using tensorflow. I found the example from https://github.com/tensorflow/tensorflow/tree/master/tensorflow/examples/android.
I am only copying all java class and xml for object detection from that example and i am using depedencies: compile 'org.tensorflow:tensorflow-android:1.4.0' and i dont copying build.gradle from the example. And i am trying to using model (tensorflow_inception_graph.pb and imagenet_comp_graph_label_strings.txt) from https://github.com/MindorksOpenSource/AndroidTensorFlowMachineLearningExample but got throw on TensorFlowObjectDetectionAPIModel -> Failed to find output Node 'detection_scores' so i am trying using model from tensorflow  ( ssd_mobilenet_v1_android_export.pb and coco_labels_list.txt ) but got error -> Failed to load model from 'file:///android_asset/ssd_mobilenet_v1_android_export.pb'. ( i got Logging return from coco_labels_list.txt so i think its worked ). Anyone knows where i miss something when copying or make mistake in something ? Please help me :D

This is the class what i am copying :
AutoFitTextureView, CameraActivity, CameraConnectionFragment, Classifier, DetectorActivity, LegacyCameraConnectionFragment,OverlayView and TensorFlowObjectDetectionAPIModel.java
all class in directory :: tracking, env (except SplitTimer)

Sorry for bad english.

FYI : I am really new to Object Detection or Machine Intelligent so i am not really understand about model ((.pb), (.txt)) or shared library (.so). I just learn from the code which tensorflow build. If you have any good explanation and tutorial about tensorflow object detection and recognition please share the url :D.
Reply all
Reply to author
Forward
0 new messages