Skip to content

ValueError: Unsupported Ops in the model before optimization Variable, Unique, Assign #1693

@richasDen

Description

@richasDen

Hello,

While I run the below command, I get an error "ValueError: Unsupported Ops in the model before optimization Variable, Unique, Assign".

tensorflowjs_converter --input_format=tf_saved_model --output_format=tfjs_graph_model export/saved_model export/web_model

Even though I use '--skip_op_check' to skip the ops, these ops error come up again when I call the model for prediction in frontend.
Can these ops (Variable, Unique, Assign) be added for supported operations by [Tensorflow.js]

TensorFlow.js 1.2.2.1
Tensorflow: 1.14.0

Browser version - Google Chrome: 75.0.3770.100

Thanks.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions