I am trying to understand the basics of caffe, in particular to use with python.
My understanding is that the model definition (for example, a given neural network architecture) should be included in the '.prototxt' file.
And when you train the model on the data using '.prototxt' , you save the weight / model parameters in the '.caffemodel' file
In addition, there is a difference between the '.prototxt' file used for training (which includes the training parameters and regularization parameters) and those used for testing / deployment that do not include them.
Questions:
- Is it correct that
'.prototxt' is the basis for training and that '.caffemodel' is the result of training (weights) using '.prototxt' according to the training data? - Is it right that there exists
'.prototxt' for training, and for testing, and that there are only slight differences (learning speed and regularization factors in training), but that nn architecture (provided that you use neural networks) is the same?
Apologies for such basic questions and perhaps some very incorrect assumptions, I am doing some online research, and the above lines summarize my understanding so far.
python deep-learning neural-network caffe pycaffe
Alejandro Simkievich
source share