
Theano
j-o-l-i-n
半路出家机房扫地僧,沉迷火炉炼丹和修仙。精通徒手写bug,曾出版《如何一秒爆显存》。
展开
-
从Theano到Lasagne:基于Python的深度学习的框架和库
http://www.youkuaiyun.com/article/2015-08-01/2825362?reload=1转载 2016-04-30 22:19:59 · 444 阅读 · 0 评论 -
theano中的index好怪异。。比如最大似然估计的损失计算部分。
# NLL is a symbolic variable ; to get the actual value of NLL, this symbolic # expression has to be compiled into a Theano function (see the Theano # tutorial for more details) NLL = -T.sum(T转载 2016-07-13 14:26:46 · 450 阅读 · 0 评论 -
给公司的电脑配置theano
anaconda安装的pythonpip install theano安装theano输入import theano遇到warning提示没有找到g++conda install mingw输入import theano遇到报错屏幕爆炸,其中提示Problem occurred during compilation with the command line below:D:\原创 2016-07-05 11:44:22 · 506 阅读 · 0 评论 -
解决linux的screen中gpu无法在theano中正常启用的问题
http://stackoverflow.com/questions/36781461/how-to-use-theano-within-screen-sessionI use theano on a remote server that I first ssh into (I don't have root on that system). This works fine, howeve转载 2016-09-20 01:05:47 · 1411 阅读 · 0 评论 -
非root用户暴力法解决选择性使用两个cudnn
之前学弟安装了一个cuda, 放在默认的地方/usr/local/cuda-7.5/后来加入cuDNN的lib64和include也拷贝到了这里,但是他是su,我不是。但这个cuDNN版本是5103,我的theano需要5,不需要5.1,不然总是有warning。又折腾了一天。下面是我的方法:从/usr/local/cuda-7.5/拷贝所有除了lib64和include的文件夹到原创 2016-09-21 13:38:06 · 2305 阅读 · 0 评论 -
神经网络中快速傅立叶变换(FFT)的梯度传递
最近需要在神经网络中构造复数酉矩阵做权重系数,使用了快速傅立叶变换和反变换.但是FFT不是theano的现成操作模块(有人写过对应的代码,所以应该会很快加进去了),所以想自己去写梯度传递来彻底搞清楚这件事.重新学一遍离散Fourier transform再加找梯度相关的文献学习,整整花了一周时间.从本科一毕业DFT就忘光了...在此总结了下,不得不说推倒的结果出来以后,真是出乎意料的漂原创 2017-09-05 21:24:42 · 6422 阅读 · 3 评论