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 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 来源: https://stackoverflow.com