tensorFlow一:介绍、安装

一、TensorFlow介绍:

深度学习框架:TensorFlow、Caffe、CNTK(Cognitive Toolkit)

深度学习github地址:https://github.com/tensorflow/tensorflow

深度学习官网:https://tensorflow.org或者https://tensorflow.google.cn

Tensorflow是一个采用数据流图(data flow graphs),用于数值计算的开源软件。基本google的DistBelief进行研发的第二代人工智能学习系统,可用于机器学习和深度神经网络方面的开发。

Tensor(张量)意味着N维数组,Flow(流)意味着基于数据流图的计算。TensorFlow运行过程就是张量从图的一端流动到另一端的计算过程。

TensorFlow的特性:

二、官方案例:

 网址:http://playground.tensorflow.org

或者:http://playground.tensorflow.org/#activation=tanh&batchSize=10&dataset=circle&regDataset=reg-plane&learningRate=0.03&regularizationRate=0&noise=0&networkShape=4,2&seed=0.96354&showTestData=false&discretize=false&percTrainData=50&x=true&y=true&xTimesY=false&xSquared=false&ySquared=false&cosX=false&sinX=false&cosY=false&sinY=false&collectStats=false&problem=classification&initZero=false&hideText=false

 

三、为什么选择TensorFlow

 Caffe在图像识别方面使用得比较早,只做深度学习。Caffe新版本已经支持RNN。

TensorFlow与spark大数据的接口在逐步完善。

三、安装TensorFlow

安装要求:

  • python必须是64位
  • 对于python3.5/3.6,可以使用pip install tensorflow(安装CPU版本)和pip install tensorflow-gpu(安装GPU版本)
  • 安装GPU版本的显卡,必须是NVIDA的显卡
  • 对于python2.7,只能通过源码编译来安装TensorFlow(window系统)

官网提供的tensorflow安装文档:https://tensorflow.google.cn/install/

 

posted on 2019-01-27 17:05  myworldworld  阅读(147)  评论(0)    收藏  举报

导航