Skip to content

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

Description

@jitendrajain

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!

Activity

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