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
1
vote
1 answer

Caffe::net reshape

I am trying to implement deepdream in C++ in caffe(I want to run it in android). googlenet requires input of shape 224*224*3. In the ipython notebook of deepdream it shows src.reshape(1,3,h,w). Does this mean that only input blob is reshaped or it…
nomem
  • 1,568
  • 4
  • 17
  • 33
1
vote
0 answers

Gradients in deepdream

I'm trying to implement deepdream in theano. As far as I understood I need to choose a layer in a pre-trained neural network to be the objective , then I need to set the activation functions of that layer to be equal to gradients, then backpropagate…
1
vote
1 answer

Python module caffe.io doesn't work

I have Ubuntu 16.04 with installed Python 2.7 and 3.5. I've got Caffe from repository and successfully compiled, all tests are passed. When I work in Terminal I can import caffe module and it has "io": >>> import caffe >>> caffe.io
Verych
  • 431
  • 1
  • 5
  • 12
0
votes
0 answers

I cannot unpack non-iterable NoneType object

I am trying to implement a deep dream model using ResNet. there are many problems appear, one of them is the proble says that the object being unpacked is of type "NoneType," which means it has a value of None. In Python, you cannot unpack an object…
0
votes
0 answers

How do I maintain layer names post retraining with transfer learning and fine tuning so to be able to direct Deep dream using layer names

I am trying to use transfer learning and fine tuning to retain a network with my own image set to then use for deep dreaming. The issue I have in following a process like the one outlined here:…
Mat
  • 39
  • 5
0
votes
0 answers

tensorflow.js throws puzzling error when calling tf.grad() for gradient ascent

For a course I'm taking, I am to implement deep dream for feature visualization. I chose to realize this project in the browser. As for my background, I am new to Machine Learning and Tensorflow.js. Mostly, I have followed this guide for the Python…
0
votes
3 answers

ModuleNotFoundError: No module named 'caffe._caffe' on Windows 10

I wanted to make a deepdream video using this script: https://github.com/graphific/DeepDreamVideo. I had to make few changes to it but now I'm receiving this error: Traceback (most recent call last): File…
0
votes
1 answer

How to load, deep dream and overwrite all images in a folder?

So far I have been able to ''manually'' process images by replacing 'picture' in photo = ''directory/picture.jpg'' for every image I'm processing. This is effective, sure, but it's very slow. any ideas? The code i'm using: from deepdreamer import…
chained
  • 23
  • 2
0
votes
0 answers

Caffe - CNN error : RuntimeWarning: divide by zero encountered in divide

I have trained a VGG face/emotion detection model from scratch. Relevant files and weights are being declared like so: model_path = 'models/faces/vitor_face/' # substitute your path here net_fn = model_path + 'VGG_FACE_deploy.prototxt' param_fn =…
user7830303
0
votes
1 answer

Deep-Dream - load Re-trained Inception model obtained with transfer learning

I have repurposed an Inception V3 network using the transfer learning method, following this article. For that, I removed the final network layer, and fed hundreds of images of my face into the network. A new model was then sucessfully generated:…
8-Bit Borges
  • 9,643
  • 29
  • 101
  • 198
0
votes
1 answer

How are gradients calculated for DeepDream

I have a very simple implementation of Deep Dream algorithm inspired by kadenze example https://github.com/pkmital/CADL/blob/master/session-4/lecture-4.ipynb: layer = graph.get_tensor_by_name('inception/output2:0') layer_size = layer.eval({x:…
Viktor Ershov
  • 321
  • 2
  • 10
0
votes
1 answer

Deepdream python script not showing images

I have followed the guide at Link up until the _=deepdream(net, img) step. Now it runs without errors but it doesn't show the images. This is the output: 0 0 inception_4c/output (210, 373,…
J. Arenas
  • 493
  • 1
  • 9
  • 23
0
votes
0 answers

"No module named caffe" but .bashrc references the location

So I got this error when running a python script that wraps around caffe. I was like "oh right, go fix .bashrc so it knows what you're trying to do". A la export PYTHONPATH=/home/ubuntu/caffe/python it still doesn't work. I tried the test scripts…
Dylan Moore
  • 443
  • 4
  • 14
0
votes
0 answers

Running Google's DeepDream on Windows with CUDA: ImportError DLL load failed

For a deep learning project I am trying to get Google's DeepDream up and running. I followed the steps described here: http://thirdeyesqueegee.com/deepdream/2015/07/19/running-googles-deep-dream-on-windows-with-or-without-cuda-the-easy-way/ My…
Derk
  • 1,385
  • 3
  • 19
  • 38
0
votes
4 answers

DeepDream taking too long to render image

I managed to install #DeepDream in my server. I have duo core and 2gb Ram. but it taking 1min to process a image of size 100kbp. Any advice ?
Thiago
  • 12,778
  • 14
  • 93
  • 110
1
2