TFJS converter unsupported Ops "BatchMatMul"
See original GitHub issueHello, I was trying to export a model from tf to tfjs, but I run into this error with tfjs 0.5.2:
Multensorflowjs_converter --input_format=tf_saved_model
--output_node_names='frozen_graph/my_model/full_output'
--saved_model_tags=serve
./tests/model_freezing/model_pipe_frozen/a2018-07-24_13-49-43/
./tests/export_tfjs
> Unsupported Ops in the model
BatchMatMul
It seems the op that create this issue is this one:
tf.matmul(point_batch, mat_batch)
The model work just fine in python.
The node is created by a tf.Matmul
, and this op is said to be handled by tfjs converter.
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (3 by maintainers)
Top Results From Across the Web
List of Unsupported Ops / Priority of ... - Google Groups
I'm trying to convert Universal Sentence Encoders and Elmo from Tensorflow Hub, as shown in this colab doc. Each fail with a number...
Read more >Supported Tensorflow Ops | tfjs-converter
Convert TensorFlow SavedModel and Keras models to TensorFlow.js.
Read more >Importing a TensorFlow GraphDef based Models into ...
Convert an existing TensorFlow model to the TensorFlow.js web format ... If your model uses an unsupported op, the tensorflowjs_converter ...
Read more >UNPKG - @tensorflow/tfjs
node_modules/@tensorflow/tfjs-core/src/ops/array_ops_util.ts",". ... node_modules/@tensorflow/tfjs-converter/node_modules/@protobufjs/aspromise/index.js",".
Read more >Top 5 tensorflowjs Code Examples - Snyk
tensorflow / tfjs-converter / tfjs-converter / python ... Ops in the model before optimization\n' + ', '.join(unsupported)) # first pass of grappler ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey all, wanted to give an update that in the next release of TFjs,
matmul
will behave the way it does in other Tensorflow languages: input matrices just need to have ranks of >= 2 with identical outer dimensions (item number 1 in the comment above). Thanks for bringing this to our attention!Great point @chrisdonahue . Will keep this issue to track two things