Tensorflow构建量化工具-Bazel构建错误 [英] Tensorflow build quantization tool - bazel build error
本文介绍了Tensorflow构建量化工具-Bazel构建错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
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
推荐答案
我认为发生的事情是该量化工具从contrib移到了TensorFlow核心.您应该可以改用它:
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
这篇关于Tensorflow构建量化工具-Bazel构建错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文