dennybritz / nn-theano Goto Github PK
View Code? Open in Web Editor NEWSpeed up your Neural Network with Theano and the GPU
Speed up your Neural Network with Theano and the GPU
Referring to "Speeding up your Neural Network with Theano and the GPU", why for GPU code, train_y is converted by np.eye?
For CPU code, it's not.
Sorry if this is a trivial problem!!! I am new to linux environment as a whole and running into problems left and right!!
I'm trying to run gputest.py, but I have been unable to run with GPU. I got it running via CPU, but couldn't get further than that.
I exported following flag:
export THEANO_FLAGS=mode=FAST_RUN,device=cuda,floatX=float32
ran python gputest.py
and got following output:
ERROR (theano.sandbox.gpuarray): pygpu was configured but could not be imported
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/gpuarray/init.py", line 20, in
import pygpu
ImportError: No module named pygpu
[Elemwise{exp,no_inplace}(<TensorType(float32, vector)>)]
Looping 100 times took 2.73069596291 seconds
Result is [ 1.23178029 1.61879337 1.52278066 ..., 2.20771813 2.29967761
1.62323284]
Used the cpu.
Other informations:
All the packages are running the latest versions from what I know.
There has been hash security issue when attempting to install CUDA.
Ran the code using python 2.7.
For some reason I don't have the CUDA folder in /usr/local.
I have anaconda for python 2.x and python 3.x.
I may have installed CUDA from both nvidia and apt-get.
Please tell me if there's any more information I need to provide.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.