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

Inception V3 not working #4

Open
kaustubhn opened this issue Jul 28, 2017 · 3 comments
Open

Inception V3 not working #4

kaustubhn opened this issue Jul 28, 2017 · 3 comments

Comments

@kaustubhn
Copy link

kaustubhn commented Jul 28, 2017

I am using this plugin in one of my apps built with ionic 2 for android.
When i used the inception V1 model I get the prediction results.
But as soon as I try to use the inception v3 model I get an error saying

"Op BatchNormWithGlobalNormalization is not available in GraphDef version 21. It has been removed in version 9. User tf.nn.batch_normalization()."

My guess it we need to update the .so files and the .jar file. I tried to do that but it didn't work, could anyone please guide me in the direction?

Any help is appreciated. Thanks in Advance.

Edit 1:
When using mobile net model (self trained) getting error as-
"Problem reading labels file!"

@timbutler
Copy link

Give this a go, you need to strip your existing model for mobile use: https://petewarden.com/2016/09/27/tensorflow-for-mobile-poets/

@steventanwc
Copy link

Hi Tim,

I have stripped the the model.
Quantize the model

Still can't get it to work.

The error:
Uncaught (in promise) -1

Were u able to make it work in v3?

@davifelipems
Copy link

I wrote a tutorial on my blog showing how to generate a model inception v3 for mobile . is in Portuguese but you can use google translator :) http://www.davifelipe.com.br/tensorflow-gerando-model-para-dispositivo-movel

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