I’m, trying to upload a model I’ve made to a MaixPy Dock and after having some problems making my own kmodel, I’ve found this file that let’s me upload my code and returns the .kfpkg file (https://colab.research.google.com/drive/17SMdTrUVxBhtR49JUDV5bNwd4AiCFoPH#scrollTo=vJ7k4fwQSY4O).
When trainning the model it says the file size on the board (KPU memory usage: 2097152 B
Main memory usage: 129024 B) which is a lot but since the board has free gc heap memory : 179 KB, free sys heap memory: 4580 KB, after a kpu.memtest() I assume it’s ok. BUT when I try to load the model I get a “model size err” followed by “Traceback (most recent call last):
File “”, line 1, in
ValueError: [MAIXPY]kpu: load error:2003, ERR_KMODEL_FORMAT: layer_header.body_size <=0”
Is it a problem with my model?
I need help fixing it!