This tool is modified from onnx2caffe by MTlab.
We added some OPs to support one-stage mmdetection models.
- pycaffe (with builtin Upsample and Permute layers)
- onnx
To convert onnx model to caffe:
python convertCaffe.py ./model/mmdet.onnx ./model/a.prototxt ./model/a.caffemodel
- Conv
- ConvTranspose
- BatchNormalization
- MaxPool
- AveragePool
- Relu
- Sigmoid
- Dropout
- Gemm (InnerProduct only)
- Add
- Mul
- Reshape
- Upsample
- Concat
- Flatten
- Resize
- Permute
- Scale