logo

oenpMV4无法通过SD卡读取856K的数据文件,对吗?

2021-01-23 16:24
U
c1il

现象描述:

1.在SD卡中拷贝856K的文件:my_lenet.network'

2.通过openMV IDE写一段没有加载my_lenet.network的micoPython代码

3.运行后没问题

4.添加一行代码:net = nn.load('/my_lenet.network')

5.运行报错:

Memory Error:out of normal micropython Heap Memory!Please reduce the resolution of the image you are running this algorithm on to bypass this issue!

请问:openMV4真的无法通过SD卡读取856K的数据文件吗?

还是可以通过修改源码,比如startup.s文件可以解决该问题?如果是的话,能否给我一个startup.s的文件?我用的固件版本是3.6.0的

2021-01-25 18:59
I
网红小智智 星瞳科技

是的,不能

解决办法:换OpenMV4 Plus。

I
网红小智智 星瞳科技

https://singtown.com/product/50302/openmv-cam-h7/

RAM Layout里面看到,最大可以在heap里256KB