Currently, CANN Kit supports the conversion of Caffe, TensorFlow, ONNX, and MindSpore models into offline models. You need to convert models in other formats to those supported by CANN Kit.
Prepare a trained Caffe, TensorFlow, or ONNX model, for example, a Caffe SqueezeNet V1.0 model.
Download Tools, decompress the package, and use the OMG tool in Tools to convert a TensorFlow or Caffe model into an IR model. For details, see Model Conversion Example.
If the TensorFlow or Caffe model is too large, you can reduce the model size using the size reduction tool in Tools before OMG-based conversion. For details, see Model Size Reduction.