kendryte / canmv

Other
58 stars 21 forks source link

Added support for KModel v5 #14

Closed cscribano closed 1 year ago

cscribano commented 1 year ago
liuyunrui123 commented 1 year ago

Good work! Thank you for your contribution. For KModel v5 support, I suggest making it a configuration item, and disable for default, because it needs 0.7M or more memory. In addition, I have some doubts about nncase_ V1, why not use source code but static library.

cscribano commented 1 year ago

Thank you for the interesting in my contribution.

liuyunrui123 commented 1 year ago

OK, I will making it a configuration item. If convenient, can you provide your test case about kmodel-v5

liuyunrui123 commented 1 year ago

I'm so sorry to tell you, the checks not completed for build firmware, you need to put the static library in the sdk directory and resubmit another PR.

cscribano commented 1 year ago

Unfortunately, the static libraries are too heavy to be added to the git repository and git LFS cannot be enabled on a fork. The only way is to download the libnncase from an external source. I will investigate if this can be done automatically at build time.

liuyunrui123 commented 1 year ago

You can add download scripts for nncase static libraries in file .github/workflows/build-release-test.yml

kendryte747 commented 1 year ago

Here(#31) we have add support for kmodel v5, and because i have rewrite the kpu module, so i will close this pr for it is outdated.