Skip to content

Instantly share code, notes, and snippets.

Last active Jul 29, 2022
What would you like to do?
google's deepdream ubuntu installation
# sources
# ~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
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/
Copy link

CoelacanthsKill commented Dec 21, 2015

Now, how do you use this? All of the online guides have people use "ipython notebook."

The setup for windows is easier and more straightforward to me than all of these guides for installing the software to run deepdream on linux. Why isn't there 1 command to generate a picture like there is for all the windows guides?

Copy link

IAMJackal commented Jan 11, 2016

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

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:

Copy link

kristjanvariksoo commented Aug 28, 2016

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

Copy link

Elliott42189 commented Nov 20, 2017

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

Copy link

gyopak commented Jul 2, 2018


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?

Copy link

Hoppetossa commented Jun 28, 2020

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

Copy link

ksldacqewx commented Aug 30, 2020

how do i use it help

Copy link

NatanVachon commented Feb 19, 2021

how do i use it help

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

then type: ./

Copy link

NatanVachon commented Feb 19, 2021

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