f8f49cc6d18c2489690b133af45a521743f5fb5c,keract/keract.py,,display_activations,#,55

Before Change


    (1, 10)
    
    layer_names = list(activations.keys())
    activation_maps = list(activations.values())
    batch_size = activation_maps[0].shape[0]
    assert batch_size == 1, "One image at a time to visualize."
    for i, activation_map in enumerate(activation_maps):
        print("Displaying activation map {}".format(i))

After Change


    (1, 128)
    (1, 10)
    
    for name, activation_map in activations.items():
        assert activation_map.shape[0] == 1, "One image at a time to visualize."
        print("Displaying activation map [{}]".format(name))
        shape = activation_map.shape
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: philipperemy/keras-activations
Commit Name: f8f49cc6d18c2489690b133af45a521743f5fb5c
Time: 2019-01-03
Author: premy@cogent.co.jp
File Name: keract/keract.py
Class Name:
Method Name: display_activations


Project Name: fmfn/BayesianOptimization
Commit Name: b06c2d416cb2ca25089b914d9097ec42327998e9
Time: 2018-11-25
Author: fernando@chatkit.com
File Name: bayes_opt/target_space.py
Class Name: TargetSpace
Method Name: __init__


Project Name: cesium-ml/cesium
Commit Name: e547a82c24b37c157bc9b40d2724a7b1fd0a7b0f
Time: 2017-04-17
Author: brettnaul@gmail.com
File Name: cesium/featurize.py
Class Name:
Method Name: save_featureset