nncase generated kmodel: Header version?



  • Hi
    Using nncase, I have generated a kmodel from a simple neural net I made. Unfortunately, the model's header version is read by the SDK KPU driver as 2, causing the kpu_model_load_from_buffer() function to abort. Does anyone have any pointers as to what might be going wrong here?



  • nncase now released v0.1.0 RC1 and also has linux prebuilt binaries. You can have a try.



  • @sunnycase
    Thanks for your reply!
    Do you have any pointers on how to build nncase on linux (preview5 has no prebuild binaries)? I've tried unsuccessfully to build MSBuild with Mono - if I can get that to work, can I just "mono msbuild nncase.sln"?



  • Sorry, the SDK hasn't been updated to support kmodel v2. Please wait for the next release or use nncase v0.1.0 preview5.