Category: Linux/Unix
-
Running a neural network in GPU
I was so passionate about neural networks and always wanted a fast library. I found FANN library c is the fastest NN library, so that i could train a neural network in GPU. I finally managed to find libcudann library (extension of FANN) which runs on Nvidia GPU with CUDA. I tested on my ubuntu…
-
Fixing libtool not found error
I was compiling fann library under opencl, got stuck on this. $ ./configure config.status: executing libtool commands sed: ./ltmain.sh: No such file or directory sed: ./ltmain.sh: No such file or directory mv: rename libtoolT to libtool: No such file or directory cp: libtoolT: No such file or directory chmod: libtool: No such file or directory…
-
Install FANN neural network in Mac
FANN is a very good neural network library written in C for speed. It is very easy to install this library in mac. There is also limited possibility on getting this library run on GPU (opencl) (check the forums http://leenissen.dk/fann/forum/viewtopic.php?f=2&t=658) . Lets see how we can install this library properly. This library should run faster than…
-
How to setup Caffe to run Deep Neural Network
I got excited recently about Deep neural networks. I did some research and found out that running DNN in a GPU is 20X faster than in CPU. Wow!!! So that means you can setup a mini supercomputer at home. I went directly to shop spent $200 to buy Nvidia 750Ti video card with 620 CUDA…
-
How to install adobe flash player in Ubuntu
I used ubuntu 14.04 and noticed that Adobe flash player does not come preinstalled. This is need for websites like youtube. To manually install flash player, there are 2 steps. First install adobe flash player and secondly install the flash player plugin. Its easy! Installing Adobe Flash player and plugin 1. First download the tar.gz…
-
How to Install Nvidia driver in Ubuntu
Ubuntu by default installs graphics drivers automatically and configures the best graphics resolution. If you have purchased new graphics card, chances are the drivers need to be installed manually. Here is what you need to do. 1. Go download the linux drivers from nvidia website. Download the .RUN file which is about 60mb. 2. First,…
-
How to install ubuntu in Mac OS Yosemite
Ubuntu rocks! I love operating systems that gives full access to accessibility settings. I hate small text fonts in my computer screen, so love bigger text fonts that are smooth, with good graphics plus i dont get bored tweaking. Ubuntu has moved a lot these days and i was surprised how good the user interface…
-
Machine learning using Restricted Boltzmann machines
Restricted boltzmann machines commonly known as ‘RBM’s are excellent feature extractors, working just like autoencoders. They easily outperform PCA (principal component analysis) and LDA when it comes to dimensionality reduction techniques. The features extracted from images (eg MNIST) are fed to neural networks or machine learning algorithms such as SVM or Logistic regression classifiers. RBMs…
-
Fix -> WARNING: nvcc not in path with CUDA
i was installing Pycuda in my mac and when i compile i get this error. I did install CUDA from nvidia and it seems to be a path problem. *** WARNING: nvcc not in path. i fixed it by assigning paths to the CUDA library export PATH=${$PATH}:/usr/local/cuda/bin export CUDA_ROOT = /usr/local/cuda/ and then finally python…
-
Scipy requires gfortran compiler to install for Mac OS
I was installing scipy on my old mac running python 2.7 but had a real hard time installing scipy. I successfully installed numpy without any problems. However installing scipy on both ways using mac ports, pip and compiling from scipy source throwing this error error: library dfftpack has Fortran sources but no Fortran compiler found…