caffe icon indicating copy to clipboard operation
caffe copied to clipboard

Filter visualization on other dataset

Open chen3902 opened this issue 12 years ago • 1 comments

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!

chen3902 avatar Oct 20 '14 14:10 chen3902

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.

shelhamer avatar Nov 30 '14 22:11 shelhamer