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

Facing crash issue when trying out a new tensorflow model #4

Open
jitendrajain opened this issue Aug 5, 2016 · 3 comments
Open

Facing crash issue when trying out a new tensorflow model #4

jitendrajain opened this issue Aug 5, 2016 · 3 comments

Comments

@jitendrajain
Copy link

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!

@catherineHR
Copy link

Same problem in my case with a new model.
Any news about it? Thanks!

@BellayayaOK
Copy link

same problem in my program with yolo model
the file(.pb) is 108.4 MB
Have any solution?
thanks you

@yichunyen
Copy link

yichunyen commented Oct 21, 2016

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.

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

4 participants