visualize_activation: visualize_activation

Description Usage Arguments Examples

Description

This function allows you to visualize the filters of a trained keras NN.

Usage

1
2
visualize_activation(model, selected_filters, layer_names,
  save_folder = "Filter_Vis", num_iterations = 150L)

Arguments

model

Keras NN object

selected_filters

List of lists that contain the filter numbers that you want to visualize.

layer_names

List of layer names of the NN that you want to visualize.

save_folder

The name of the folder you want to save the images in. "Filter_Vis" is the default.

num_iterations

The number of iterations in the gradient ascent step.

Examples

1

jkhseo/Keras-Vis documentation built on May 7, 2019, 3:59 a.m.