kpu: load error:2

I followed the Raccoon Detection Tutorial, and I finally managed to produce a model that I could upload to the MAIX BiT.

When I try to run the Python script to use the model, it fails in the kpu.load() call.

What does load error 2 mean? I could not find this error number in any similar problem report in the forum.

After browsing the MaixPy sources I found out that error code 2 means SIPEED_KPU_ERR_KMODEL_FORMAT, so the model’s format was not recognized.

As it turns out the problem was caused by the fact that I used NNCase v0.2.0 Beta1. After switching to NNCase Converter v0.1.0 RC5 and after converting the model with that the Racoon Detector sample started to work.