tensorflow serving 中 No module named tensorflow_serving.apis,找不到predict_pb2问题
时间:2017-08-25 10:25:44
收藏:0
阅读:2602
最近在学习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
评论(0)