vlfeat / matconvnet

MatConvNet: CNNs for MATLAB
Other
1.4k stars 752 forks source link

about update the parameters of specified layer. #1185

Open NeverMoreLCH opened 6 years ago

NeverMoreLCH commented 6 years ago

Hello,

As shown in the title, If my net has two layers:conv1 and conv2, how can I only update the parameters of conv2 while fixing the parameters of conv1?

LavieLuo commented 5 years ago

Basically, just set the learning rate of Layer_conv1 as zero. This may help you understand better https://github.com/vlfeat/matconvnet/issues/643