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

load into tensorflow.js #21

Open
nalbion opened this issue Aug 2, 2018 · 0 comments
Open

load into tensorflow.js #21

nalbion opened this issue Aug 2, 2018 · 0 comments

Comments

@nalbion
Copy link

nalbion commented Aug 2, 2018

I'm trying to convert and load the model into tensorflow.js

#TODO --output_node_names='model_tmp/checkpoint' \
tensorflowjs_converter \
    --input_format=tf_saved_model \
    --saved_model_tags=serve \
    model_tmp/model.ckpt-500 \
    model_web

https://github.com/OpenASR/rnn-nlu/blob/master/scripts/convert

When I run the script above I get an error:

IOError: SavedModel file does not exist at: model_tmp/model.ckpt-500

I've tried model_tmp, model_tmp/checkpoint but neither of them work either.

Also, I'm not sure what to provide at output_node_names

https://github.com/tensorflow/tfjs-converter

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

1 participant