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

最近在学习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
文章来自:http://www.cnblogs.com/YouXiangLiThon/p/7426583.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3