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

ValueError: 【MAIXPY】kpu: load error:2009, ERR_MODELS_FULL: we only support load 5 models in the same time #477

Open
shisanwanqian opened this issue Dec 19, 2022 · 1 comment

Comments

@shisanwanqian
Copy link

我在maixpy-ide中运行人脸识别程序的时候出现了这个问题显示我加载了5个模型,但是程序中只加载了3个,加载两个模型就不会报错,我使用的固件版本是maixpy_v0.6.2_84_g8fcd84a58_minimum_with_ide_support
解决问题我尝试过,整片擦除flash但没有效果!

@Ms-url
Copy link

Ms-url commented Oct 1, 2023

maixhub上给的yolo的程序最后没有加
kpu.deinit(task_fd)
kpu.deinit(task_ld)
kpu.deinit(task_fe)
每次运行都会加载这三个模型,你按复位键就可以发现,加载完3个模型后,程序才会被复位终止,如果不加这几行代码的话,你终止程序时,加载的模型不会被销毁,再用maixpy-ide终端运行新的程序时,就只能加载两个模型了。
可以在最后加上这三行代码后烧录进芯片,这样就能在maixpy-ide运行新的程序了。

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

2 participants