Some time ago, made a compilation of the example of CC, finally finally fix ... But to compile in the IDE is not successful, continue to explore.
Now share, explore the process, welcome nagging, Exchange.
http://home.cnblogs.com/u/mydebug/
Prepare: inception_dec_2015 files to the Data folder
Concrete Look Https://github.com/tensorflow/tensorflow/tree/master/tensorflow/examples/label_image
1, first need to install Bazel in TensorFlow (pre-download good)
$ chmod +x Path_to_install. Sh
$./path_to_install. SH--user
In the. BASHRC Configuration Environment Source ... (depending on your personal directory)
2, $ Bazel build tensorflow/examples/label_image/... (Before you need to modify the source file code PD file name, the source and the library does not provide the same name, and need to CD to Tensorflow_master)
3, $ bazel-bin/tensorflow/examples/label_image/label_image (under Bazel-bin folder)
4, compile, run successfully
As a result, the soldier was more likely to wear military uniforms. But I changed a brother's photo (forcing brother to lend you a picture bitter forced haha) up to test the probability of electronic guitar big. It's not about identifying the clothes I'm wearing, I think the reason is not that the source code identifies the foreground target.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Example of running label_image of TensorFlow learning