Have you ever tried to quantize the model by Quantization-aware training? If so, how is the result?
I am trying to create_training_graph in model.py at line 72 like this.
assert mode == tf.estimator.ModeKeys.TRAIN tf.contrib.quantize.create_training_graph(quant_delay=100000)
Since I am not familiar with tf.estimator. I don't quite know where to add
tf.contrib.quantize.create_eval_graph()
to export a quantized graph before a savedmodel.
Or do I need to rewrite the project without tf.estimator.
Hi @TropComplique ,
Have you ever tried to quantize the model by Quantization-aware training? If so, how is the result?
I am trying to create_training_graph in model.py at line 72 like this.
assert mode == tf.estimator.ModeKeys.TRAIN tf.contrib.quantize.create_training_graph(quant_delay=100000)
Since I am not familiar with tf.estimator. I don't quite know where to addtf.contrib.quantize.create_eval_graph()
to export a quantized graph before a savedmodel.Or do I need to rewrite the project without tf.estimator.
If you get any ideas, please let me know.
Thanks a lot.