标签:
Tensorflow of GPU, hello fish by version 0.8.
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