You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys,
If I want to classify 100 objects and use the convolution and max-pooling layers of pre-trained Imagenet model, I only change the imagenet.prototxt with different outputs in fully-connected network. How to initialize the network with pre-trained imagenet model in previous layers while latter layer randomized ?
Thanks
The text was updated successfully, but these errors were encountered:
Please take a look at #31. You may consider searching the issues first before opening a new issue.
The secret is in Net::CopyTrainedLayersFrom. In my opinion, all you need to do is to define your desired network and name the layers that you want to copy from a pre-trained model with the names of the corresponding source layers to be copied from. Other layers will be initialized by the random fillers that you specify.
Hi guys,
If I want to classify 100 objects and use the convolution and max-pooling layers of pre-trained Imagenet model, I only change the imagenet.prototxt with different outputs in fully-connected network. How to initialize the network with pre-trained imagenet model in previous layers while latter layer randomized ?
Thanks
The text was updated successfully, but these errors were encountered: