Tensorflow build quantization tool - bazel build e

2019-05-07 04:11发布

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

1条回答
贼婆χ
2楼-- · 2019-05-07 04:37

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
查看更多
登录 后发表回答