CUDA Toolkit 9.1
visit https://developer.nvidia.com/cuda-downloads and download the correct deb file then:
1 2 3 4 |
sudo dpkg -i cuda-repo-ubuntu1604_9.1.85-1_amd64.deb sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub sudo apt-get update sudo apt-get install cuda |
Basic Linear Algebra Subprograms (BLAS)
1 |
sudo apt-get install libatlas-base-dev libatlas-dev |
Protocol Buffers
1 |
sudo apt-get install protobuf-compiler libprotobuf-dev libprotoc-dev |
or you can install protobuf v3 it from source:
1 2 3 4 5 6 7 8 9 |
export PROTOBUF_ROOT=~/.softwares/protobuf git clone https://github.com/google/protobuf.git $PROTOBUF_ROOT -b '3.2.x' cd $PROTOBUF_ROOT ./autogen.sh ./configure make "-j$(nproc)" make"-j$(nproc)" install DESTDIR=~ cd python python setup.py install --cpp_implementation --user |
Lightning Memory-Mapped Database
1 |
sudo apt-get install liblmdb-dev |
LevelDB
1 |
sudo apt-get install libleveldb-dev |
Hdf5
1 |
sudo apt-get install libhdf5-dev libhdf5-cpp-11 libhdf5-openmpi-dev libhdf5-mpi-dev libhdf5-10 |
gflags
1 2 3 |
git clone https://github.com/gflags/gflags cd gflags && mkdir build && cd build cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX:PATH=~/usr .. && make -j8 all install |
glog
1 2 3 |
git clone https://github.com/google/glog cd glog && mkdir build && cd build cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX:PATH=~/usr .. && make -j8 all install |
Snappy
1 2 3 |
git clone https://github.com/google/snappy cd snappy && mkdir build && cd build cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX:PATH=~/usr .. && make -j8 all install |
Caffe
1 2 3 |
git clone https://github.com/BVLC/caffe cd caffe && mkdir build && cd build cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX:PATH=~/usr .. && make -j8 all install |
Hi
My first attempt to create deep dream with caffe
Would you mind give more detail’s what do you mean about deep dream
Do you mean sleep dream ( Lucid Dreams )
What do you mean about caffe
Regards
Hi, please have look at these:
https://github.com/gsurma/deep_dream
https://ai.googleblog.com/2015/06/inceptionism-going-deeper-into-neural.html
regards.