how to use model_520.nef from step by step of Yolov3
I followed the step of Yolo Example, and i got models_520.nef also.
And when i ran batchCompile_520.py, i had set the param of batch_input_params.json "model id" as 205(because enum model_type YOLO_V3_416_416_3 is 205)
Now, i want to use kdp2 library to use these model, the error code always gave me KHOST_IPC_ERROR_INVALID_MODEL_ID QQ(I had modify kdp2_app.c and re-build it),
Please help me~
(the case for TINY_YOLO_V3_224_224_3 and TINY_YOLO_V3_416_416_3 is OK)
The discussion has been closed due to inactivity. To continue with the topic, please feel free to post a new discussion.
Comments
Hi,
want to ask you model is YOLO or TINY_YOLO? and what do you modify kdp2_app.c ?
because kdp2_app.c just 2 function(kdp2_app_tiny_yolo_v3_send, kdp2_app_tiny_yolo_v3_receive);
i'm not sure the yolov3 model(not tiny-yolov3) whether can use these two functions.
i modified kdp2_app_tiny_yolo_v3_send.c in param ll_ty_inf_desc.model.model_ids[0] = YOLO_V3_416_416_3.
Hi,
need you check your model is YOLO or "tiny" YOLO, because we 520 not support YOLO,
you can reference sample https://www.kneron.com/forum/discussion/53/example-keras-kl520-how-to-convert-and-compile-tiny-yolo-v3-from-github-project#latest
thanks
Thank for your reply ~
Could you list KL 520 support models for me ?
HI,
can reference http://doc.kneron.com/docs/#toolchain/manual/
thanks
But the list include yolov3 ?
The list is simulation result or KL520 support models?
Thank you~
Hi,
i confirm internal. we yolo model before quantitation, is was about 30*4mb, but if you want input in 520,
model size is below 30mb after quantitation.
and could you give your error message?
hi,
model size maybe large than 30mb,
the error message is KHOST_IPC_ERROR_INVALID_MODEL_ID.
thanks~
hi,
if you model large than 30 mb..so we 520 not support.
thanks.