Kneron Model Zoo Inference 520 Example - Classification
KL520 Inference Example with NEF model trained from https://doc.kneron.com/docs/#model_training/classification/
Check
- tutorial ( location: /workspace/ai_training/classification/tutorial/tutorial.ipynb )
in
- Kneron Toolchain docker (doc: https://doc.kneron.com/docs/#toolchain/manual_1_overview/)
to learn how to train a the example model, and check
- https://doc.kneron.com/docs/#toolchain/manual_1_overview/
- https://doc.kneron.com/docs/#toolchain/appendix/yolo_example/
to learn how to convert the trained model to NEF model
How to:
step 1. read document at Getting_start and make sure PLUS is ready
step 2-1. run KL520 example:
cd python/example_model_zoo
python KL520KnModelZooGenericImageInferenceClassification.py
step 2-2. run KL720 example:
cd python/example_model_zoo
python KL720KnModelZooGenericImageInferenceClassification.py
Detail Information:
Platform | backbone | FPS(npu only) | Input format | Preprocess | Normalize |
---|---|---|---|---|---|
KL520 | resnet18 | 20.4376 | RGB565 | auto (on device) | Kneron mode |
KL720 | resnet18 | 141.371 | RGB565 | auto (on device) | Kneron mode |