Deep Learning: win7安装Theano,配置GPU
来源:互联网 发布:ug nx10 for mac 下载 编辑:程序博客网 时间:2024/06/10 05:53
1. 安装 AnacondaCE:
下载地址:http://repo.continuum.io/archive/index.html 和 http://repo.continuum.io/anaconda3/
我是win64,选择Anaconda-1.4.0-Windows-x86_64.exe安装
Anaconda会自动安装python.exe和theano的所有依赖项
2. 安装 Theano:
下载地址:https://github.com/Theano/Theano-wininstaller/raw/master/bin/theano_installer_latest.msi
默认安装完成之后,会在cmd的根目录下(打开cmd时显示的目录)生成一个 theanorc_default.txt文件,里面的内容为:
[global]openmp=False[blas]ldflags=
为了使用GPU,我们将theanorc_default.txt文件名改为theanorc.txt,同时将其中的内容改为:
[blas]ldflags =[gcc]cxxflags = -ID:\Anaconda\MinGW[nvcc]fastmath = Trueflags=-LD:\Anaconda\libscompiler-bindir=D:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\binbase_compiledir=path_to_a_directory_without_such_characters[global]floatX = float32device = gpu0
3. 配置GPU:
CUDA的配置:http://blog.csdn.net/yeyang911/article/details/17450963
4. 下载DeepLearningTutorials测试代码
下载地址:https://github.com/lisa-lab/DeepLearningTutorials
另外几个链接:【1】 【2】 【3】 官方安装方法:【4】
按照上述安装,theano里除了convolutional_mlp.py以外的所有代码都可以运行,当运行convolutional_mlp.py时出现以下错误:
ValueError: Was not able to allocate output!
WARNING (theano.gof.compilelock): Overriding existing lock by dead process '5216' (I am process '5488')
Error allocating 5760000 bytes of device memory (unknown error).
调试之后发现是theano库中function_module.py代码出现了问题,于是用自己下载的theano-mater中的theano子文件夹(【Theano-master下载】)替换掉theano_installer_latest.msi自动安装的theano(Anaconda\Lib\site-packages\theano),问题解决~~
- Deep Learning: win7安装Theano,配置GPU
- Deep learning加速之Theano的安装和GPU的配置
- Deep Learning:Windows 10 64-bit安装Theano,配置GPU攻略
- Deep Learning 开发工具Theano安装配置
- Deep Learning 开发工具Theano安装配置
- Deep Learning 开发工具Theano安装配置
- win7 安装theano+gpu
- win7安装theano+GPU
- deep learning学习环境Theano安装(win8+win7)
- deep learning:Theano安装攻略
- win7 64位成功安装theano,并且gpu配置成功
- win7 64位成功安装theano,并且gpu配置成功
- win7 64位成功安装theano 并且配置了GPU
- Theano(Deep Learning Tool) 利用GPU来进行加速的配置及使用
- python Theano包--deep learning library--安装
- theano-deep learning
- Win7 中安装Theano及配置CUDA以搭建GPU加速环境
- Theano的安装及GPU的配置
- 使用微信授权登录的APP,如何通过App Store审核?
- 江苏南京常州自愿连锁经营阳光工程高业有六位数保底工资吗?资本运作的背后是国家在操作吗?
- 【分治法】循环赛事日程表
- 构造函数
- 我的编程之路之开始
- Deep Learning: win7安装Theano,配置GPU
- 人工智能——知识表示
- 9.18 JSON解析
- 2014-10-28~31 学习日志
- HDU2001 计算两点间的距离
- queue ----also use array[] and link pointer
- Lua和C++交互详细总结
- 7.22 OC相关
- 2014-10-27Android学习------布局处理(六)------26个字母的布局列表的实现-----城市列表应用程序