Which system do you use? Android, Ubuntu, OOWOW or others?
Vim3
Which version of system do you use? Please provide the version of the system here:
ubuntu
Please describe your issue below:
i am finding an face recognition model which use with NPU, so is there any model avelable, and i have make a model for face detection with yolov7 on NPU , but i am lacking in face recognition.
Post a console log of your issue below:
**Delete this line and post your log here.**
Hello @Vandan_Bhatt ,
We only have RetinaFace model which detects faces and the key-points of each face. If you want it, we can provide it.
1 Like
yesssssssssssssssssssssssssssssssssss plz…
how to use this nb file for interface in python ? and if there is any demo then please help me…
Hello @Vandan_Bhatt ,
Sorry, we do not have Face Recognition KSNN python Demo now.
Hello @Vandan_Bhatt ,
If you want to use nb file in python, you should use KSNN convert tool to convert model. The nb we provide do not use KSNN tool.
That is the training codes we use, you can refer it.
bubbliiiing/retinaface-pytorch: 这是一个retinaface-pytorch的源码,可以用于训练自己的模型。 (github.com)
The author is Chinese. If you can not understand Chinese in codes, you can find other RetinaFace English training codes. Many codes on github. Completed training, you should convert model to ONNX model first.
Then use KSNN convert tool to convert model from ONNX to nb. Here is the doc.
Instructions for KSNN conversion tool [Khadas Docs]
For ONNX convert command, you can refer this.
ksnn/examples/onnx/README.md at master · khadas/ksnn (github.com)
At last, for using KSNN python interface, you can refer our ONNX model example.
ksnn/examples/onnx/resnet50.py at master · khadas/ksnn (github.com)