maix_train icon indicating copy to clipboard operation
maix_train copied to clipboard

Can't use the resulting m.kmodel file

Open Vosges-Brice opened this issue 4 years ago • 4 comments

  • I created the model using the 0/1 example
  • i created a package file based on the face recognition example, replacing the kmodel file
  • I flashed it to my board at 0x300000
  • I tried the face detection example, but with this 0/1 dection model but it freezes indefinitely on the 'kpu.load()' call

Vosges-Brice avatar Nov 18 '20 12:11 Vosges-Brice

  • what is 0/1 example?
  • maybe you used the old version firmware?

Neutree avatar Nov 18 '20 16:11 Neutree

Same problem here. Using the sample dataset from this project, I generated the final zip file. I use Maixbit IDE instead of booting on the boot.py file. I nontheless used the script inside the boot.py file, it freezes with the message ont the screen "loading model"

If I change the kmodel file for the face detection.kmodel, it works...

maixhub_detector_result_2020_11_18__22_45.zip

firmware: maixpy_v0.5.1_124_ga3f708c.bin

(it works if used on sdcard though - but not from the MaixPy IDE)

pimentalo avatar Nov 19 '20 06:11 pimentalo

  • what is 0/1 example? I think it's the example based on the sample dataset inside this project: the dataset contains images to recognizes "0" and "1" numbers.

pimentalo avatar Nov 19 '20 06:11 pimentalo

you can run in the REPL terminal, give out the error log

Neutree avatar Nov 21 '20 15:11 Neutree