当前位置:网站首页>K210学习笔记(四) K210同时运行多个模型
K210学习笔记(四) K210同时运行多个模型
2022-07-05 21:50:00 【学工科的皮皮志^_^】
文章目录
前言
在使用K210过程中,难免要运行多个模型,与其说是同时运行,没有什么是同时运行的,分时运行罢了,如果内存足够或者模型比较小,那么我们直接烧录在模型区就可以了,起始地址一般是0x300000,更大的模型可以放在SD卡。参考博文:K210 MaixPy 从入门到飞升–AI视觉篇–完全教程(以及一些小问题处理比如内存不足)
一、同时运行多个模型
1.有两个方法,如果内存足够,就一次性把几个模型加载到内存,然后分别分时运行推理。
2.如果内存不足,就加载完第一个模型之后,注销,释放内存,然后在加载运行第二个模型。
二、例程
比如说这个人脸识别的例程就一下子用了三个模型,分别是人脸检测,特征点识别等,看人家怎么写的,根据自己的需求改一改就可以了。
代码地址:https://github.com/sipeed/MaixPy_scripts/blob/master/machine_vision/face_recognization/demo_face_recognization.py
参考博文:
MaixPy 文档简介
K210 MaixPy 从入门到飞升–AI视觉篇–完全教程(以及一些小问题处理比如内存不足)
边栏推荐
- NET中小型企业项目开发框架系列(一个)
- 办公遇到的问题--
- Robot operation mechanism
- How to use tensorflow2 for cat and dog classification and recognition
- Ethereum ETH的奖励机制
- Scenario interview: ten questions and ten answers about distributed locks
- Analysis and test of ModbusRTU communication protocol
- Interview questions for basic software testing
- SecureCRT使用提示
- xlrd常见操作
猜你喜欢
Alibaba cloud award winning experience: build a highly available system with polardb-x
Defect detection - Halcon surface scratch detection
多家呼吸机巨头产品近期被一级召回 呼吸机市场仍在增量竞争
Huawei cloud modelarts text classification - takeout comments
Summarize the reasons for 2XX, 3xx, 4xx, 5xx status codes
Kingbasees v8r3 cluster maintenance case -- online addition of standby database management node
Huawei game multimedia service calls the method of shielding the voice of the specified player, and the error code 3010 is returned
SQL knowledge leak detection
xlrd常见操作
Recursive query of multi-level menu data
随机推荐
MMAP学习
从零开始实现lmax-Disruptor队列(四)多线程生产者MultiProducerSequencer原理解析
JMeter installation under win7
2.2.3 output of documents
The primary key is set after the table is created, but auto increment is not set
Comprehensive optimization of event R & D workflow | Erda version 2.2 comes as "7"
Poj 3237 Tree (Tree Chain Split)
Robot operation mechanism
大约SQL现场“这包括”与“包括在”字符串的写法
123456
让开发效率提升的跨端方案
EBS Oracle 11g 克隆步骤(单节点)
POJ 3237 tree (tree chain splitting)
R language learning notes
xlrd常见操作
Cross end solution to improve development efficiency rapidly
Shell script, awk condition judgment and logic comparison &||
MMAP learning
华为游戏多媒体服务调用屏蔽指定玩家语音方法,返回错误码3010
使用Aspect制作全局异常处理类