Hello guys,
Now I have a trained .caffemodel file, and I wrote a simple c++ program to read the names and layer types of the net according to caffe.proto:
void Listlayers(const caffe::NetParameter& net) {
for (int i=0; i < net.layer_size(); i++) {
const caffe::LayerParameter& layer = net.layer(i);
cout << "Layer Name: " <<
layer.name()<< endl;
cout << "Layer Tpye: " << layer.type()<< endl;
}
}
However, I can't locate where the weights and biases are stored according to the caffe.proto file. Can anyone help me with this?
Thanks!