MaixPy-v1_scripts icon indicating copy to clipboard operation
MaixPy-v1_scripts copied to clipboard

Error with Kmodel Version

Open Bashdog opened this issue 4 years ago • 6 comments
trafficstars

I can't upload the demo_find_face.py script. I just got the error: ValueError: [MAIXPY]kpu: load error:2002, ERR_KMODEL_VERSION: only support kmodel V3/V4 now, but I flashed the maixpy_v0.6.2_16_gaefa3193d_openmv_kmodel_v4_with_ide_support.bin file to the MaixBit. Is something wrong with my device? Could anybody help me?

Bashdog avatar Jan 23 '21 16:01 Bashdog

I have the same issue, using the script above with firmware 0.6.2. is the v4 model loaded on another address?

ianferreira avatar Feb 01 '21 22:02 ianferreira

It looks like the firmware doesn't have the right model embedded. The demo worked if you load http://dl.sipeed.com/MAIX/MaixPy/model/face_model_at_0x300000.kfpkg with the KFlash tool. @Bashdog

ianferreira avatar Feb 02 '21 01:02 ianferreira

Ok thank you!

Bashdog avatar Mar 18 '21 14:03 Bashdog

Where to load this ?? Ive already loaded :- FaceDetection (0X300000), FaceExtraction(0X500000), FaceLandmarkDetection(0X400000)

and then I loaded :- maixpy_v0.6.2_57_gae955b706_openmv_kmodel_v4_with_ide_support.bin at (0X0000) Im running face_recogntion and getting the same error

It looks like the firmware doesn't have the right model embedded. The demo worked if you load http://dl.sipeed.com/MAIX/MaixPy/model/face_model_at_0x300000.kfpkg with the KFlash tool. @Bashdog

rsingh2083 avatar Aug 01 '21 14:08 rsingh2083

It looks like the firmware doesn't have the right model embedded. The demo worked if you load http://dl.sipeed.com/MAIX/MaixPy/model/face_model_at_0x300000.kfpkg with the KFlash tool. @Bashdog

After loading all the files, I flashed your .kpfg still face_recognition giving error about KMODEL

rsingh2083 avatar Aug 01 '21 14:08 rsingh2083