Deep Learning覚え書き(Caffenetの可視化編)

CaffenetによるIrish terrier(アイリッシュ・テリア)の分類時の各層の特徴マップを可視化してみた。 まず、http://nbviewer.ipython.org/github/everpeace/caffe/blob/master/examples/cifar10_full.ipynbを参考にし、関数plot_imagesを次のように定義する。 def plot_images(images, tile_shape): assert images.shape[…