5ee8d4a1719a4c1070924351af9c2119432e7066,examples/visualize_layer.py,,visualize_random,#Any#Any#,9

Before Change


    // Easily stitch images via `utils.stitch_images`
    stitched = utils.stitch_images(images)
    if show:
        cv2.imshow("Random imagenet categories", stitched)
        cv2.waitKey(0)


def visualize_multiple_same_filter(num_runs=3, show=True):
    Example to show how to visualize same filter multiple times via different runs.

After Change


    stitched = utils.stitch_images(images)
    if show:
        plt.axis("off")
        plt.imshow(stitched)
        plt.title("Random imagenet categories")
        plt.show()

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: raghakot/keras-vis
Commit Name: 5ee8d4a1719a4c1070924351af9c2119432e7066
Time: 2017-04-29
Author: ragha@outlook.com
File Name: examples/visualize_layer.py
Class Name:
Method Name: visualize_random


Project Name: raghakot/keras-vis
Commit Name: 5ee8d4a1719a4c1070924351af9c2119432e7066
Time: 2017-04-29
Author: ragha@outlook.com
File Name: examples/visualize_layer.py
Class Name:
Method Name: visualize_multiple_categories


Project Name: raghakot/keras-vis
Commit Name: 5ee8d4a1719a4c1070924351af9c2119432e7066
Time: 2017-04-29
Author: ragha@outlook.com
File Name: examples/visualize_layer.py
Class Name:
Method Name: visualize_multiple_same_filter