First we need to install OpenBLAS on our machine. Use following set of command to install and configure OpenBLAS
1. Remove openblas if you installed it
sudo apt-get remove libopenblas-base
2. Download the development version of OpenBLAS
git clone git://github.com/xianyi/OpenBLAS
3. Run
cd OpenBLAS
4. Run
make FC=gfortran
5. Run
sudo make PREFIX=/usr/local/ install
6. Run
echo -e "\n[blas]\nldflags = -lopenblas\n" >> ~/.theanorc
Download DL4J examples from
git clone git://github.com/deeplearning4j/dl4j-0.4-examples
Open Intellij IDEA
and import this project in to it.
Once you import the project, you can run samples simply as executable java classes.
No comments:
Post a Comment