TensorFlowAndroidDemo icon indicating copy to clipboard operation
TensorFlowAndroidDemo copied to clipboard

Feed input 0 when trying out a new tensorflow model

Open jitendrajain opened this issue 8 years ago • 1 comments

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"

Tensorflow model loads successfully without any issue but i get following error E/native: tensorflow_jni.cc:300 Error during inference: Not found: FeedInputs: unable to find feed output input:0

I want to change input layer and output layer name, but there does not seem to be a way to change it. Can you please help with this.

Would really appreciate any guidance or help on how to try out a different tensorflow model with this project.

Thanks!

jitendrajain avatar Aug 25 '16 14:08 jitendrajain

You can change it in the jni file (tensorflow_jni.cc)

elich11 avatar Nov 04 '16 11:11 elich11