anyone please tell me how to visualize the learned filter of each CNN layer? The following answers tell me how to only visualize the learned filters of the first CNN layer, but could not visulize the other CNN layers.
1) You can just recover the filters and use Matlab's functions to display them as images. For example after loading a pretrained net from http://www.vlfeat.org/matconvnet/pretrained/ :
imshow( net.layers{1}.filters(:, :, 3, 1), [] ) ;
2) You may find the VLFeat function vl_imarraysc useful to display several filters. http://www.vlfeat.org/matlab/vl_imarraysc.html