Figure : Portion of a frame created with Google Deep dream code
This section shows a video with all the layers of a deep nerual network and one selected frame per layer. The Convolutional Neural Network has been pretrained with ImageNet. The first input image is a picture of myself and at every step the image is zoomed with a ratio of 0.05. At every step the actual input image (frame) is forwarded to the actual hidden layer. The error is set to be the same representation in order to maximize all its activations. Then, a backward pass is computed to modify the input image. After 100 iterations of zooming in one layer, the next layer is used. The order of layers is the default in the Caffe prototxt code and can be seen in the following file:
To syncronize the music with the video and create an effect of slowmotion in certain frames I used the program SlowmoVideo freely available.