Can I convert a LSTM Model of tensorflow to tensorFlowjs ?
See original GitHub issueI created a sentiment model in tensorflow using python.In which I used LSTM Layers.I wanted to use that in web browser so, I converted that model to TensorFlow js format using tensorflow js converter. I got three files with names
- weights_manifest.json
- tensorflowjs_model
- group1-shard1of1
where 2,3 are binary files & json file contains information like
[{"weights": [{"shape": [], "dtype": "int32", "name": "ArgMax_1/dimension"}], "paths": ["group1-shard1of1"]}]
on seeing this I can say this model doesn’t work because it does not have any information of network.
In FAQ’s i found that Models with control flow ops (e.g. RNNs) are not yet supported.I just want to make sure does LSTM’s prepared model works in Tensorflowjs ?
I looked at example of sentiment analysis and translator of tensorflowjs. They are just making use of predefined models from the cloud.Can I get the examples of training those models with the data or conversion of those models from tensorflow to tensorflowjs format ?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:6
Top GitHub Comments
Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!
Have you seen this new lstm-text-generation example? https://github.com/tensorflow/tfjs-examples/tree/master/lstm-text-generation
On Mon, Jul 2, 2018 at 4:52 PM, Gautam Mittal notifications@github.com wrote:
– Stan Bileschi Ph.D. | SWE | bileschi@google.com | 617-230-8081