Model Information
Source model
- Input shape: 640x640
- Number of parameters: 3.18M
- Model size: 12.18MB
- Output shape: 1x84x8400
Source model repository: yolov8
Inference with AidLite SDK
SDK installation
Model Farm uses AidLite SDK as the model inference SDK. For details, please refer to the https://docs.aidlux.com/software/ai-sdk/aidlite_guide(https://docs.aidlux.com/software/ai-sdk/aidlite_guide)
- install AidLite SDK
# Install the appropriate version of the aidlite sdk
sudo aid-pkg update
sudo aid-pkg install aidlite-sdk
# Download the qnn version that matches the above backend. Eg Install QNN2.23 Aidlite: sudo aid-pkg install aidlite-qnn223
sudo aid-pkg install aidlite-{QNN VERSION}
- Verify AidLite SDK
# Install the appropriate version of the aidlite sdk
sudo aid-pkg update
sudo aid-pkg install aidlite-sdk
# Download the qnn version that matches the above backend. Eg Install QNN2.23 Aidlite: sudo aid-pkg install aidlite-qnn223
sudo aid-pkg install aidlite-{QNN VERSION}
# eg: Install QNN 2.23 Aidlite: sudo aid-pkg install aidlite-qnn223
Run Demo
python
cd model_farm_yolov8n_qcs8550_qnn2.36_fp16_aidlite
python3 python/run_test.py --target_model ./[model_file_path] --imgs ./python/bus.jpg --invoke_nums 10