TensorFlow是一个谷歌在2015年开源的机器学习库
TensorFlow™ is an open source software library for numerical computation using data flow graphs. Nodes in the graph represent mathematical operations, while the graph edges represent the multidimensional data arrays (tensors) communicated between them. The flexible architecture allows you to deploy computation to one or more CPUs or GPUs in a desktop, server, or mobile device with a single API. TensorFlow was originally developed by researchers and engineers working on the Google Brain Team within Google's Machine Intelligence research organization for the purposes of conducting machine learning and deep neural networks research, but the system is general enough to be applicable in a wide variety of other domains as well.
中文翻译版是Github上的一个开源项目。
这次的安装是在Linux平台下完成的,在github地址中的 Download and Setup 有详细的安装过程,给出了四种安装方式。由于我的电脑是带显卡(GTX760),所以需要安装 gpu enable 的版本。
这里的安装过程说的很详细,这里就不再赘述。我是在 Ubuntu 14.01 版本下进行的安装,下面总结几点安装过程中碰到的问题:
- 最好使用英文原版的系统
- 系统装好后不要进行系统提示的update
- 系统装好后先不要安装显卡驱动(仅限于gpu enable版本)
- Ubuntu/Linux 64-bit, GPU enabled. Requires CUDA toolkit 7.5 and CuDNN v4.
- 按ctrl + alt + F1 进入命令行界面,通过
sudo /etc/init.d/lightdm stop
关闭 X Server,然后按照安装教程安装