I am making an experiment. I quantized a model. It gives me quantized.prototxt file. It has an extra parameter named quantization_param . So, when trying to parse the file using caffe.Net(), it throws an error mentioning :
[libprotobuf ERROR google/protobuf/text_format.cc:274] Error parsing
text-format caffe.NetParameter: 66:22: Message type
"caffe.LayerParameter" has no field named "quantization_param".
quantization_param looks like -
quantization_param {
bw_layer_in: 32
bw_layer_out: 32
bw_params: 8
fl_layer_in: 24
fl_layer_out: 20
fl_params: 8
}
How can I access that quantized.prototxt file and modify fields of quantization_param. Do you have any idea ? Can you provide any Python code / Shell script to do this job. Thanks in Advance