7f0ae42983727c049b2e67bff7125e5b12773bfd,examples/visualize_optimization_gif.py,,generate_opt_gif,#,10

Before Change


    // The name of the layer we want to visualize
    // (see model definition in vggnet.py)
    layer_name = "predictions"
    layer_dict = dict([(layer.name, layer) for layer in model.layers[1:]])
    output_class = [20]

    losses = [
        (ActivationMaximization(layer_dict[layer_name], output_class), 2),

After Change


    // The name of the layer we want to visualize
    // (see model definition in vggnet.py)
    layer_name = "predictions"
    layer_idx = [idx for idx, layer in enumerate(model.layers) if layer.name == layer_name][0]
    output_class = [20]

    optimizer_params = {
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: raghakot/keras-vis
Commit Name: 7f0ae42983727c049b2e67bff7125e5b12773bfd
Time: 2017-06-28
Author: ragha@outlook.com
File Name: examples/visualize_optimization_gif.py
Class Name:
Method Name: generate_opt_gif


Project Name: raghakot/keras-vis
Commit Name: 4e8a831d2a4f4ce8d80c25d43c614255237da71a
Time: 2016-12-24
Author: ragha@outlook.com
File Name: examples/visualize_layer.py
Class Name:
Method Name: visualize_multiple_categories


Project Name: raghakot/keras-vis
Commit Name: 0d682b1227799ae56d1031a6a1adbb385a70a6e2
Time: 2016-12-23
Author: ragha@outlook.com
File Name: examples/visualize_layer.py
Class Name:
Method Name: visualize_multiple_categories