FaceBoxes-tensorflow icon indicating copy to clipboard operation
FaceBoxes-tensorflow copied to clipboard

Quantize the model

Open LucyLu-LX opened this issue 5 years ago • 1 comments

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 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.

If you get any ideas, please let me know.

Thanks a lot.

LucyLu-LX avatar Jun 04 '19 07:06 LucyLu-LX

Hi, Did you figure this out? I am facing the same issue.

gray255 avatar Mar 27 '20 22:03 gray255