Example of running label_image of TensorFlow learning

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.