kendryte / nncase

Open deep learning compiler stack for Kendryte AI accelerators ✨
Apache License 2.0
750 stars 182 forks source link

k210 freezes when loading yolox model #377

Closed chenhu66 closed 3 years ago

chenhu66 commented 3 years ago

Describe the bug yolox does not work out on k210.

To Reproduce yolox k210example in nncase git latest and kendryte-standalone-sdk latest develop head

Expected behavior k210 model loaded successfully and an image with bounding box displayed

Origin model and code If applicable, add orgin model and code to help explain your problem.

Environment (please complete the following information):

Additional context hello_world was fine, kpu_20classes_example was fine, too. But yolox didn't work out. Please support. Thank you!

chenhu66 commented 3 years ago

log from k210:

image

sunnycase commented 3 years ago

Did you update the k210 runtime? See also https://github.com/kendryte/kendryte-standalone-sdk/issues/126

chenhu66 commented 3 years ago

i updated it a while ago. And i guess that it's no more up-to-date. Where can I get the latest k210 runtime?

sunnycase commented 3 years ago

You should use the k210 runtime with the same commit id as compiler's. Alternatively you can use v1.0.0beta2 compiler and k210 runtime.

chenhu66 commented 3 years ago

v1.0.0beta2 compiler and k210 runtime worked out. Perfect!

chenhu66 commented 3 years ago

Thank you very much!