raghakot/keras-vis

Activation maximization with InceptionV3

Open

#143 opened on Oct 12, 2018

View on GitHub
 (4 comments) (0 reactions) (0 assignees)Python (640 forks)github user discovery
help wanted

Repository metrics

Stars
 (2,992 stars)
PR merge metrics
 (PR metrics pending)

Description

From master, I modified the activation_maximization.ipynb notebook to replace VGG16 with InceptionV3. Basically, I only changed the model instantiation to:

from keras.applications.inception_v3 import InceptionV3
model = InceptionV3(include_top=True, weights='imagenet', input_shape=(299, 299, 3))

However, I can't get meaningful images. For example, for the "ouzel" example, I get something very similar to: https://files.slack.com/files-pri/T3JPM5YNB-F7AFPBRGD/image.png (this was reported by a Slack user in September 2017).

Contributor guide