首页 > 其他 > 详细

Tensorflow related

时间:2017-06-20 13:20:22      阅读:725      评论:0      收藏:0      [点我收藏+]

1  bazel-bin/tensorflow/examples/label_image/label_image --graph=/tmp/output_graph.pb --labels=/tmp/output_labels.txt --output_layer=final_result --image=/home/camille/Desktop/timg.jpg


命令报错:

017-06-20 12:52:52.774446: E tensorflow/examples/label_image/main.cc:350] Running model failed: Not found: FeedInputs: unable to find feed output input

解决方案:在后面加一句 --input_layer=Mul //this parameter update the input and output layer names to "Mul" and "final_result" respectively

2下载tensorflow 代码时,

git clone https://github.com/tensorflow/tensorflow.git

直接执行 bazel build tensorflow/examples/image_retraining:retrain

报错 build aborted

解决方案: 执行 ./configure 

再执行 bazel build tensorflow/examples/image_retraining:retrain 就没问题了。


3 


本文出自 “java开发之路” 博客,请务必保留此出处http://yingerfei.blog.51cto.com/3296071/1940164

Tensorflow related

原文:http://yingerfei.blog.51cto.com/3296071/1940164

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!