TensorFlowAndroidDemo
TensorFlowAndroidDemo copied to clipboard
Facing crash issue when trying out a new tensorflow model
Hi,
I wanted to try out a different Tensoflow model with this project. Made following changes in "TensorflowImageListener" class such that it points to new tensorflow model: a. "MODEL_FILE" b. "LABEL_FILE" c. "NUM_CLASSES"
App crashes (added error logs below) as it tries to load the model.
Error Log: tensorflow_jni.cc:126 Reading file to proto: file:///android_asset/tensorflow_inception_graph.pb jni_utils.cc:111 Opening asset tensorflow_inception_graph.pb from disk with copy. jni_utils.cc:115 Check failed: message->ParseFromArray(memory, data_size) A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 12646 (ImageListener)
I would like to know if I am on right track. Is there any other changes that are needed to try out a different tensorflow model.
Would really appreciate any guidance or help on how to try out a different tensorflow model with this project.
Thanks!
Same problem in my case with a new model. Any news about it? Thanks!
same problem in my program with yolo model the file(.pb) is 108.4 MB Have any solution? thanks you
Hi guys,
I have the same issue, maybe you can check your model version(v5 or v3) . This issue happened your model version and you may check the tesnsorflow issues to find the discussion.