Repository for building the ONNX compatible ops in MMCV to run them in onnxruntime.
- A C/C++ compiler for your operating system (gcc on Linux, Visual Studio on Windows, CLang on Mac)
- Cmake
- Git
-
Download the appropriate ONNX Runtime library for your system from the Releases and extract the contents of the lib folder into the libs/onnxruntime folder.
-
Clone repository with submodules (Note the --recursive part)
git clone https://github.com/ibaiGorordo/mmcv_onnx_ops_build.git --recursive
cd mmcv_onnx_ops_build
- Compile the library