Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tensorflow build quantization tool - bazel build error

I am trying to compile the quantization script as described in Pete Warden's blog. However I get the following error message after running the following bazel build:

bazel build tensorflow/contrib/quantization/tools:quantize_graph
ERROR: no such package 'tensorflow/contrib/quantization/tools': BUILD       file not found on package path.
INFO: Elapsed time: 0.277s
like image 857
Moe Avatar asked Feb 05 '23 18:02

Moe


1 Answers

I think what happened is that this quantization tool got moved out of contrib and into TensorFlow core. You should be able to use that instead:

bazel build tensorflow/tools/quantization:quantize_graph
like image 191
Allen Lavoie Avatar answered Feb 08 '23 16:02

Allen Lavoie