Either Caffe's python package or Google protobuf is required. The latter is often much easier to install:
We first install the protobuf compiler. If you compiled mxnet with USE_DIST_KVSTORE = 1 then it is already built. Otherwise, install protobuf-compiler by your favor package manager, e.g. sudo apt-get install protobuf-compiler for ubuntu and sudo yum install protobuf-compiler for redhat/fedora.
Then install the protobuf's python binding. For example sudo pip install protobuf
Now we can build the tool by running make in the current directory.
Note: this tool currently only works on python 2.
We must make sure that the installed python binding and protobuf compiler are using the same version of protobuf, so we install the bindings first, and then install the corresponding compiler.
conda install -c conda-forge protobuf or pip install protobufPATHmake_win32.bat to build the packageTo convert ssd caffemodels, Use: python convert_model.py prototxt caffemodel outputprefix
Use this converter for ssd caffemodels only. General converter is available in mxnet/tools/caffe_converter.