Skip to content

Visualization of the filters of VGG16, via gradient ascent in input space.

License

Notifications You must be signed in to change notification settings

penny4860/cnn-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cnn-visualizer

Visualization of the filters of VGG16, via gradient ascent in input space.

Pure tensorflow version of How convolutional neural networks see the world

  • Generated image of Convolutional Layer 3-1

  • Generated image of Convolutional Layer 4-1

Prerequisites

  • python 3.5
  • tensorflow 1.0.1
  • numpy 1.12.0

How to run

1. Download vgg16 checkpoint file

First, you need to download the pre-learned checkpoint file.

2. Run script "main.py"

Now run main.py script. You can adjust options such as image size, layer name, and so on.

In the cpu version, it takes only a minute to create one image.

About

Visualization of the filters of VGG16, via gradient ascent in input space.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages