Environmental Requirements
- cmake (version >=3.10 is recommended)
- protobuf (version >= 3.0 is required)
- gcc (version >= 4.9 is required)
Steps
cd MNN/
./schema/generate.sh
mkdir build
cd build
cmake .. -DMNN_BUILD_CONVERTER=true && make -j4
The compiled product contains the model conversion tool MNNConvert
and the model output tool MNNDump2Json.out
.