sipeed / MaixPy-v1_scripts

micropython scripts for MaixPy
https://maixpy.sipeed.com
MIT License
625 stars 431 forks source link

put 2 model to sipeed #4

Open vitiennam opened 5 years ago

vitiennam commented 5 years ago

Hi,

I want to use 2 model, ex 1MB vs 3 MB, how can I put it to sipeed and read it

Thanks

Neutree commented 5 years ago

pack them to *.kfpkg file, and download to flash with kflash

vitiennam commented 5 years ago

@Neutree thanks you, What about kmodel, how to create it

Thanks

Neutree commented 5 years ago

maybe these links can help you?

http://blog.sipeed.com/p/category/maix-software

https://www.youtube.com/watch?v=fZ4QbtAjKXo&t=30s

https://www.instructables.com/id/Transfer-Learning-With-Sipeed-MaiX-and-Arduino-IDE/

vitiennam commented 5 years ago

@Neutree Thanks for your help, I create 2 kmodel, first have 388776 (0x5EEA8) bytes so I put model at 0x00300000 and 0x0035EEA9 but when I use kpu to load model, it cannot load model 2: task = kpu.load(0x300000) task_re = kpu.load(0x0035EEA9)

thanks