Memory Error - CIFAR10 Example

General discussion about topics related to OpenMV.
ashwinvk94
Posts: 1
Joined: Tue Sep 25, 2018 4:34 pm

Memory Error - CIFAR10 Example

Postby ashwinvk94 » Fri Oct 05, 2018 2:21 pm

When I run the CIFAR10 Example is shows the error:

Code: Select all

MemoryError: Out of normal MicroPython Heap Memory! Please reduce the resolution of the image you are running this algorithm on to bypass this issue!
But it can load and run the cifar10_fast.network

But I am assuming that the M7 has enough RAM to load the cifar10.network as well since it is given as an example. Can someone tell me if I'm doing something wrong or confirm that the M7 cannot run the cifar10 example?

PS : I have copied the cifar10.network and cifar10_fast.network file onto the SD memory of the openmv M7 cam.
User avatar
kwagyeman
Posts: 2462
Joined: Sun May 24, 2015 2:10 pm

Re: Memory Error - CIFAR10 Example

Postby kwagyeman » Fri Oct 05, 2018 3:29 pm

Yeah, only the fast one fits on the M7 camera.

So, I'm going to be introducing a lot of new models in the next IDE release very soon for ARM Techcon. I'll have more examples for detecting very particular things and the models will be smaller to fit on chip much easier.
Nyamekye,

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 1 guest