码迷,mamicode.com
首页 > 其他好文 > 详细

Tensorflow of GPU, hello fish by version 0.8.

时间:2016-04-15 08:14:09      阅读:159      评论:0      收藏:0      [点我收藏+]

标签:

Tensorflow of GPU, hello fish by version 0.8.

0.download open source project:Tensorflow from git:

git clone --recurse-submodules https://github.com/tensorflow/tensorflow

 

 

1.configure:

cd tensorflow

and run:TF_UNOFFICIAL_SETTING=1 ./configure

 

2.compile:

bazel build -c opt --config=cuda //tensorflow/cc:tutorials_example_trainer

技术分享

技术分享

 

bazel-bin/tensorflow/cc/tutorials_example_trainer --use_gpu

技术分享

技术分享

 

bazel build -c opt --config=cuda //tensorflow/tools/pip_package:build_pip_package

技术分享

技术分享

 

mkdir /tmp/tensorflow_pkg

bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg

技术分享

 

 

技术分享

pip install /tmp/tensorflow_pkg/tensorflow-*

技术分享

技术分享

 

3.Test:

技术分享

After done! I found the Tensorflow have updated from 0,7 to 0.8. Surprise!

Tensorflow of GPU, hello fish by version 0.8.

标签:

原文地址:http://www.cnblogs.com/FORFISH/p/5393878.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!