Skip to content

gsurma/deep_dream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep Dream

Minimal Python/TensorFlow implementation of the DeepDream algorithm originally created by Alexander Mordvintsev.

Daily dose of deep dreams on instagram.

Usage

To use on the predefined .jpg image:

python3 deep_dream.py <path_to_the_image>

or

python3 deep_dream.py

to perform on the random image.

How does it work?

We are using Inception5h model which was designed to classify images.

During the classification process we are providing input images and using gradient descent to adapt weights to the images through filters.

DeepDream algorithm does the opposite. It adapts the input images to match the network weights with gradient ascent which results in visualizing network filters on the input images giving them psychodelic look.

Results

Author

Greg (Grzegorz) Surma

PORTFOLIO

GITHUB

BLOG