当前位置:网站首页>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视觉篇–完全教程(以及一些小问题处理比如内存不足)
边栏推荐
- Detailed explanation of memset() function usage
- Teach yourself to train pytorch model to Caffe (III)
- Xlrd common operations
- Defect detection - Halcon surface scratch detection
- Drawing HSV color wheel with MATLAB
- Simple interest mode - evil Chinese style
- MMAP learning
- 張麗俊:穿透不確定性要靠四個“不變”
- Haas506 2.0 development tutorial - Alibaba cloud OTA - PAC firmware upgrade (only supports versions above 2.2)
- 他们主动布局(autolayout)环境的图像编辑器
猜你喜欢

MMAP learning

Efficiency difference between row first and column first traversal of mat data types in opencv

Reading and writing operations of easyexcel

JMeter installation under win7

华为快游戏调用登录接口失败,返回错误码 -1

多家呼吸机巨头产品近期被一级召回 呼吸机市场仍在增量竞争

Interviewer: will concurrent programming practice meet? (detailed explanation of thread control operation)

MQ----activeMq

让开发效率飞速提升的跨端方案

Scenario interview: ten questions and ten answers about distributed locks
随机推荐
Sorting out the problems encountered in MySQL built by pycharm connecting virtual machines
Opérations de lecture et d'écriture pour easyexcel
Simple interest mode - lazy type
Poj 3237 Tree (Tree Chain Split)
"Grain mall" -- Summary and induction
Teach yourself to train pytorch model to Caffe (2)
Kingbasees v8r3 data security case - audit record clearing case
场景化面试:关于分布式锁的十问十答
[daily training -- Tencent select 50] 89 Gray code (only after seeing the solution of the problem)
微服务入门(RestTemplate、Eureka、Nacos、Feign、Gateway)
PIP install beatifulsoup4 installation failed
PostGIS installation geographic information extension
Sitge joined the opengauss open source community to jointly promote the ecological development of the database industry
Reading and writing operations of easyexcel
ICMP 介绍
多家呼吸机巨头产品近期被一级召回 呼吸机市场仍在增量竞争
POJ 3237 tree (tree chain splitting)
Selenium gets the verification code image in DOM
Haas506 2.0 development tutorial - Alibaba cloud OTA - PAC firmware upgrade (only supports versions above 2.2)
854. 相似度为 K 的字符串 BFS