Tensorflow00-新篇章

又要开启一个专题的学习——Tensorflow

一个表面基于python,背后基于C++的开源机器学习框架,采用数据流图形式实现神经网络。


资料:

官网

中文社区

莫烦教学视频

github

深度学习教程

tensorflow更新


安装:

环境win10 64bit

install python3.5+ 64bit:
https://www.python.org/downloads/


windows powershell install tensorflow (cpu):
pip install tensorflow


//if your graphics card support CUDA///
windows powershell install tensorflow (gpu):
pip install tensorflow-gpu


install visual studio 2015 professional:
https://www.visualstudio.com/


install cuda8 local:
https://developer.nvidia.com/cuda-downloads
cuda8 still can't support VS2017
In VS installer, open Individual components tab and select VC++ 2015.3 v140 toolset under Compilers, build tools and runtimes
Install .NET Framework 3.5 if you didn't have it installed. Open Classical Control Panel, go to Programs and features and press Turn Windows features on or off. Check .NET Framework 3.5 and press OK. 
Go to the C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\extras\visual_studio_integration\MSBuildExtensions folder in your extracted distribution, copy all the files and paste them to C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\v140\BuildCustomizations
you will need to edit your Cuda projects to recognize NVidia's build tasks from Visual Studio 2017. Open your .vcxproj file in a text editor and find all occurrences of CUDA 8.0.props. Replace the macro at the beginning of the string with $(VCTargetsPath14) so that XML snippet would look as follows: 


download cuDNN and copy the files to corresponding folders:
https://developer.nvidia.com/rdp/cudnn-download
/


MNIST data download:
sign in with google account:
https://tensorflow.googlesource.com/tensorflow/+/master/tensorflow/g3doc/tutorials/mnist/
download tar.gz file
download input_data.py;
https://tensorflow.googlesource.com/tensorflow/+/master/tensorflow/examples/tutorials/mnist/input_data.py#3
(or copy the file with line head and replace all '^[0-9]+ ' with '')
web page:http://yann.lecun.com/exdb/mnist/


eclipse install pydev plugin:
Window->eclipse market->search py->install pydev
create a pyDev project
copy the input_data.py into the project
create another .py file and import input_data module


all current deprecated/renamed functions:
https://www.tensorflow.org/install/migration


参考链接:

http://blog.csdn.net/sb19931201/article/details/53648615

http://www.jianshu.com/p/7f0f3710b44c

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值