tfjs icon indicating copy to clipboard operation
tfjs copied to clipboard

Unsupported Ops in the model FakeQuantWithMinMaxVars

Open chenjin3 opened this issue 8 years ago • 3 comments

To get help from the community, check out our Google group.

TensorFlow.js version

tfjs-converter v0.2.1

Describe the problem or feature request

Unsupported Ops in the model FakeQuantWithMinMaxVars error message appears when I'm try to convert a model with FakeQuantWithMinMaxVars operation.

chenjin3 avatar May 02 '18 08:05 chenjin3

this is a model with quantization, are you trying to use a model generated by tflite? can you share your command line, and possibly the model itself. thanks.

pyu10055 avatar May 03 '18 04:05 pyu10055

@pyu10055 No, it saved by tf.saved_model.builder. The model with quantization works well on tflite but on web. My command line is as follow:

tensorflowjs_converter \
    --input_format=tf_saved_model \
    --output_node_names='output' \
    --saved_model_tags=test_saved_model \
    /8bit/saved_model \
    /8bit/web_model

chenjin3 avatar May 14 '18 05:05 chenjin3

This should work now.

nsthorat avatar Oct 24 '18 20:10 nsthorat