Theano installation

来源:互联网 发布:数据库pdf 百度云 编辑:程序博客网 时间:2024/05/21 03:17

Recently I came up with an idea to use deep learning to do some very abstract work.

So, I try to configure Theano on my own computer.



(It's really necessary to have a NVIDEA computer for machine learning. The support for CUDA is much more than OPENCL)


The main idea is to use AnacondaCE:https://store.continuum.io/cshop/anaconda/ 

it integrate many libs for python including numpy, scipy etc.


And Theano provides a simple way to install on Anaconda.


Student can use edu mail to get add-on for Anaconda for free.(haven't check what add-ons for)

Then we can just use the .msi (https://raw.githubusercontent.com/Theano/Theano-wininstaller/master/bin/theano_installer_latest.msi) given by theano to install. However, although I didn't confront the problem of this blog http://blog.csdn.net/yeyang911/article/details/15341645.

用theano提供的msi文件装起来很方便,但是我遇到了很奇怪的问题。虽然不像那篇博文里面一样,我在安装的时候出错,但是我在安装完后,import 之后会有问题,然后我想卸载也卸载不了。

I can't import theano in python:THERE ARE SOME PROBLEMS. I try to remove theano, but I failed. even I reinstall Anaconda. it still doesn't work.

重装了anaconda也没用。

Then I see the theano code I clone from git.

然后我看了一下git上的源码, 然后再doc文件中找到了一个.bat 文件

In doc, there is a bat file called theano_installer_for_anaconda.bat.


把bat文件中的路径改掉就可以用了。

Edit it and change the default path to be you installation path of anaconda.


And it can work.




There is an another way which I haven't used.

这也是个方法,但是我还没有试过。

http://www.cnblogs.com/nnix/archive/2013/06/04/3117166.html.

0 0
原创粉丝点击