Filter visualization on other dataset
I have successfully visualize the filters on CaffeNet, followed the tutorial presented on the Caffe website. However, I want to visualize the filters on other dataset, such as cifar-10, MNIST. If I just change the path of deploy.prototxt and pretrained model in "net = caffe.Classifier(caffe_root + 'models/bvlc_reference_caffenet/deploy.prototxt', caffe_root + 'models/bvlc_reference_caffenet/bvlc_reference_caffenet.caffemodel') ", the ipython notebook will report error. What should I do if I want to visualize filters on other pretrained models and other dataset? Thank you very much!
Visualization by the Net.data dictionary interface should work just as well for any other model. Note that instead of the deployment network, loading the training network in Python and calling Net.forward() without arguments will make use of the data layer to skip all the preprocessing details on the Python side.