Skip to content

Instantly share code, notes, and snippets.

@ewnd9
Last active January 24, 2024 19:38
Show Gist options
  • Save ewnd9/3d3f688f8c6d3fe643f1 to your computer and use it in GitHub Desktop.
Save ewnd9/3d3f688f8c6d3fe643f1 to your computer and use it in GitHub Desktop.
google's deepdream ubuntu installation
# sources
# http://www.scipy.org/install.html
# http://sohliloquies.blogspot.ru/2015/07/setting-up-deep-dream-google-researchs.html
# https://github.com/BVLC/caffe/wiki/Ubuntu-14.04-VirtualBox-VM
# ~2gb dependencies
mkdir deep-dream && cd deep-dream
sudo apt-get install subversion cmake
sudo apt-get install libblas-dev libatlas-dev liblapack-dev
sudo apt-get install doxygen
sudo apt-get install -y libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libboost-all-dev libhdf5-serial-dev protobuf-compiler gfortran libjpeg62 libfreeimage-dev libatlas-base-dev git python-dev python-pip libgoogle-glog-dev libbz2-dev libxml2-dev libxslt-dev libffi-dev libssl-dev libgflags-dev liblmdb-dev python-yaml
sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose
sudo apt-get install protobuf-compiler
git clone https://github.com/BVLC/caffe.git
cd caffe
cp Makefile.config{.example,}
mkdir build
cd build
cmake ..
make pycaffe
make runtest
export PYTHONPATH=/home/fish/workspace/caffe/python:$PYTHONPATH
cd ../models/bvlc_googlenet/
wget http://dl.caffe.berkeleyvision.org/bvlc_googlenet.caffemodel
@IAMJackal
Copy link

Thanks for the deepdream install! Have you done an install for deep style by any chance?

http://gitxiv.com/posts/jG46ukGod8R7Rdtud/a-neural-algorithm-of-artistic-style

@xiutek
Copy link

xiutek commented May 27, 2016

Hello I already installed it susefully but Im noobin' very had and don't have a clue how to use or even open it. Any place I can get some info?


lol damn drugs I could already thank you very much for this code c:

@kristjanvariksoo
Copy link

Perhaps you would want to use -j on those makes to speed them up on multicore systems?

@Elliott42189
Copy link

Let me start by saying thank you, the install seemed to work without a hitch...
Now the question is: How do I use it?

@gyopak
Copy link

gyopak commented Jul 2, 2018

🎖️

@catyoop
Copy link

catyoop commented Jan 4, 2020

Hi, I'm struggling to get this to work. My system is 18.04. is there an easy way to adapt these instructions for that OS?

@Hoppetossa
Copy link

I just installed it without ANY problems (just wondering, i'm newbie and normaly there are allways problems...) on my Linux Mint 19.3 Cinnamon System. CHEERS

@ksldacqewx
Copy link

how do i use it help

@NatanVachon
Copy link

how do i use it help

Create a file named install.sh (for instance, in you terminal type: touch install.sh)
then in a terminal go to the file location and type: chmod +x install.sh
This makes it an executable

then type: ./install.sh

@NatanVachon
Copy link

And thank you for this. You are like a every-day life super hero

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment