Questions tagged [deep-dream]

DeepDream - a code example for visualizing Neural Networks

A repository containing IPython Notebook with sample code, complementing Google Research blog post about Neural Network art.

30 questions
34
votes
9 answers

No module named google.protobuf

I am trying to run Google's deep dream. For some odd reason I keep getting ImportError: No module named google.protobuf after trying to import protobuf. I have installed protobuf using sudo install protobuf. I am running python 2.7 OSX Yosemite…
lecorbu
  • 343
  • 1
  • 3
  • 7
13
votes
2 answers

How to train a caffe model?

Has anyone successfully trained a caffe model? I have a training ready image set that I would like to use to create a caffe model for use with Google's Deep Dream. The only resources I've been able to find on how to train a model are…
jmcclaire
  • 175
  • 3
  • 4
  • 16
9
votes
2 answers

Google Deep Dream art: how to pick a layer in a neural network and enhance it

I am interested in a recent blog post by Google that describes the use of nn to make art. I am particularly interested in one technique: 'In this case we simply feed the network an arbitrary image or photo and let the network analyze the picture.…
6
votes
2 answers

Error: the tensor's graph is different from the session's graph

I am trying to load a previously trained tensor trained model from checkpoint files, now these checkpoint files have op variables in them so to load the graph I have to first load graph_def from **ckpt.meta file: graph = tf.Graph() sess =…
3
votes
1 answer

Deep Dream Code does not generate recognizable patterns

I've tried to create my own Deep Dream Algorithm with this Code: import tensorflow as tf import matplotlib.pyplot as plt import numpy as np import inception img = np.random.rand(1,500,500,3) net =…
Kay Jersch
  • 277
  • 3
  • 13
2
votes
1 answer

Select specific features in a Tensorflow 1 layer

I followed this tutorial and used the ipynb notebook from the Github page to generate deepdream images in Google Colaboratory. The tutorial uses the Inception5h network. 12 layers in this model are commonly used for generating images. Each layer…
2
votes
0 answers

Caffe - Use VGG network layers as 'end' objectives and generate dreams on input-image

MODEL I have been trying to train a VGG_FACE_16_layers Net from scratch, following the steps on this project: https://github.com/danduncan/HappyNet Then I trained a face/emotion recognition model on a cloud GPU, from my mdb files, and produced a…
user7830303
2
votes
2 answers

How would I run a Lua script with user specified parameters from inside another Lua script?

How would I run a Lua script with user specified parameters from inside another Lua script? Would the below code work? Where "content_image" is my specified input image (either saved to an image file, or still in the script) into the "deepdream.lua"…
ProGamerGov
  • 870
  • 1
  • 10
  • 23
2
votes
1 answer

How to check a trained neural network

I am writing a little bit about googles deepdream. It's possible to check with deepdream learned networks, see research blog google the examplbe with the dumbbells. In the example a network is trained to recognize a dumbbell. Then they use…
1
vote
0 answers

Deep dream "guide" image in tensorflow

I'm trying to modify the deep dream code from the Tensorflow docs here: https://www.tensorflow.org/tutorials/generative/deepdream Specifically, I want to use a "guide image" to produce the dream features. This was originally shown in Caffe in this…
greenbeansugar
  • 300
  • 1
  • 3
  • 9
1
vote
1 answer

TypeError while Running Tensorflow Deep Dream Tutorial from Python: TypeError: __init__() got an unexpected keyword argument 'serialized_options'

I have taken the tensorflow deepdream example and have converted the Jupyter Notebook to a normal Python module. When running the module from Eclipse / Python 3.6, I get the following traceback: Traceback (most recent call last): File…
jfleach
  • 501
  • 1
  • 8
  • 21
1
vote
1 answer

“No module named caffe” error when trying to run python program

I recently started with deep dreaming VFX,but I got this error after I typed in the bash python video.py: Traceback (most recent call last): File "video.py", line 19, in import caffe ImportError: No module named caffe I am a newbie…
Tom
  • 11
  • 1
1
vote
0 answers

tf.gradients only returns [None]

I tried to build my own deep dream algorithm with this code using the Inception Neural Network from Google: import tensorflow as tf import matplotlib.pyplot as plt import numpy as np #I am using the Kadenze CADL helper function --->…
Kay Jersch
  • 277
  • 3
  • 13
1
vote
1 answer

What does "step size" actually do in DeepDream?

What does "step size" actually do in DeepDream? It seems like the number of octaves, and the octave scales are basically resizing the image in certain patterns, while the iteration count is building on the hallucinated details. But what is the…
ProGamerGov
  • 870
  • 1
  • 10
  • 23
1
vote
1 answer

How do I run the Deep Dream source code?

(I downloaded the deep dream source code from https://github.com/google/deepdream) First of all, I'm not interested in purely Deep Dream only, but machine learning, and deep learning in particular, as a whole. I know programming (but by no means an…
Lobs001
  • 365
  • 4
  • 14
1
2