Manual Conversion with SNPE (RVC4)
Command Line
1modelconverter shell rvc4Overview
luxonis/modelconverter-rvc4:latest image and running it as an interactive terminal session (-it) with the --rm flag to ensure the container is automatically removed once the session is exited:Command Line
1docker run --rm -it \
2 -v $(pwd)/shared_with_container:/app/shared_with_container/ \
3 luxonis/modelconverter-rvc4:latestConversion to DLC
- ONNX
- TensorFlow Lite
Command Line
1snpe-onnx-to-dlc --input_network <path to the .onnx model>Command Line
1snpe-tflite-to-dlc --input_network <path to the .tflite model>Consult the
snpe-onnx-to-dlc --help or snpe-tflite-to-dlc --help for the full list of conversion options or visit the official documentation.Quantization (optional)
Command Line
1snpe-dlc-quant --input_dlc <path to the .dlc model>Consult the
snpe-dlc-quant --help for the full list of quantization options or visit the official documentation.Graph preparation
Command Line
1snpe-dlc-graph-prepare --input_dlc <path to the (un-)quantized .dlc model> --htp_socs sm8550Consult the
snpe-dlc-graph-prepare --help for the full list of graph preparation options or visit the official documentation.