Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use the resulting m.kmodel file #3

Open
Vosges-Brice opened this issue Nov 18, 2020 · 4 comments
Open

Can't use the resulting m.kmodel file #3

Vosges-Brice opened this issue Nov 18, 2020 · 4 comments

Comments

@Vosges-Brice
Copy link

  • 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
@Neutree
Copy link
Member

Neutree commented Nov 18, 2020

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

@pimentalo
Copy link

pimentalo commented Nov 19, 2020

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
Copy link

  • 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.

@Neutree
Copy link
Member

Neutree commented Nov 21, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants