I would like to modify the caffe ImageNet model as described below:
Since the input channel number for temporary networks is different from that of spatial networks (20 vs. 3), we average the filters of the ImageNet model first layer over the channel, and then copy the average results of 20 as initialization of temporary networks.
My question is: how can I achieve the above results? How can I open the caffe model to be able to make these changes?
I read a tutorial on clean surgery, but does not cover the necessary procedure.
Thanks for the help!
Amayer
source
share