当前位置:网站首页>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视觉篇–完全教程(以及一些小问题处理比如内存不足)
边栏推荐
- 如何组织一场实战攻防演练
- 1.2 download and installation of the help software rstudio
- Uni app Bluetooth communication
- Parker驱动器维修COMPAX控制器维修CPX0200H
- The primary key is set after the table is created, but auto increment is not set
- Net small and medium-sized enterprise project development framework series (one)
- Robot framework setting variables
- MMAP learning
- Zhang Lijun: penetrating uncertainty depends on four "invariants"
- Summary of El and JSTL precautions
猜你喜欢

深信服X计划-网络协议基础 DNS

Zhang Lijun: penetrating uncertainty depends on four "invariants"

Uni app Bluetooth communication

Kingbasees v8r3 cluster maintenance case -- online addition of standby database management node

微服务入门(RestTemplate、Eureka、Nacos、Feign、Gateway)

Reading and writing operations of easyexcel

How can Huawei online match improve the success rate of player matching

EBS Oracle 11g 克隆步骤(单节点)

Teach yourself to train pytorch model to Caffe (2)

Parker驱动器维修COMPAX控制器维修CPX0200H
随机推荐
Cross end solutions to improve development efficiency
Defect detection - Halcon surface scratch detection
sql常用语法记录
总结出现2xx、3xx、4xx、5xx状态码的原因
regular expression
Postgres establish connection and delete records
ICMP 介绍
Implementing Lmax disruptor queue from scratch (IV) principle analysis of multithreaded producer multiproducersequencer
Why can't Chinese software companies produce products? Abandon the Internet after 00; Open source high-performance API gateway component of station B | weekly email exclusive to VIP members of Menon w
1.2 download and installation of the help software rstudio
Chapter 05_ Storage engine
crm创建基于fetch自己的自定义报告
他们主动布局(autolayout)环境的图像编辑器
Gcc9.5 offline installation
华为云ModelArts文本分类–外卖评论
Sitge joined the opengauss open source community to jointly promote the ecological development of the database industry
Image editor for their AutoLayout environment
HYSBZ 2243 染色 (树链拆分)
Parker driver maintenance COMPAX controller maintenance cpx0200h
华为游戏多媒体服务调用屏蔽指定玩家语音方法,返回错误码3010