tensorflow serving 中 No module named tensorflow_serving.apis,找不到predict_pb2问题

时间:2017-08-25 10:53:10   收藏:0   阅读:977

最近在学习tensorflow serving,但是运行官网例子,不使用bazel时,发现运行mnist_client.py的时候出错,

在api文件中也没找到predict_pb2,因此,后面在网上看到,它在这里

"bazel-bin/tensorflow_serving/example/mnist_client.runfiles/tf_serving/tensorflow_serving/apis"

好像这是bazel编译生成的(网上观点,出处找不到啦),好吧,又回到bazel了。

 

参考:

 https://groups.google.com/a/tensorflow.org/forum/#!topic/discuss/K_k7JcUi8uw
评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!