Page 1 of 1

nn_cifar10

Posted: Tue Jan 08, 2019 3:34 pm
by elight-spm
hello, i am trying the neural network code of cifar-10 which actually recognizes objects like cat,dog,vehicle etc. But i faced some bugs here.Which i am unable to solve..Please help me, i have attached the bugs and the code.

Re: nn_cifar10

Posted: Tue Jan 08, 2019 6:04 pm
by iabdalkader
Looks like the file is corrupted, the network is only 88KBs. Please download it again using this github link:

https://github.com/openmv/openmv/blob/m ... k?raw=true

Copy the file to the camera, and make sure it's written (safe remove the disk).

Re: nn_cifar10

Posted: Wed Jan 09, 2019 2:48 am
by MANASH
Sir, can we use this nn for image recognition? If yes, then how we can prepare a dataset with images of some people in a .network format?

Re: nn_cifar10

Posted: Wed Jan 09, 2019 3:04 am
by kwagyeman

Re: nn_cifar10

Posted: Wed Jan 09, 2019 5:56 am
by elight-spm
iabdalkader wrote:
Tue Jan 08, 2019 6:04 pm
Looks like the file is corrupted, the network is only 88KBs. Please download it again using this github link:

https://github.com/openmv/openmv/blob/m ... k?raw=true

Copy the file to the camera, and make sure it's written (safe remove the disk).
hello sir,Thank you for your help,but an error came out.Screenshot attached..
Thanking you,
Elight-spm

Re: nn_cifar10

Posted: Wed Jan 09, 2019 11:27 am
by kwagyeman
It means the network is too big. So, you need to reduce the net size. The M7 doesn't really have enough heap ram to run larger nets.

Re: nn_cifar10

Posted: Wed Jan 09, 2019 12:12 pm
by iabdalkader
I don't think cifar10 works on the F7, try cifar10_fast

Re: nn_cifar10

Posted: Wed Jan 09, 2019 2:11 pm
by MANASH
kwagyeman wrote:
Wed Jan 09, 2019 11:27 am
It means the network is too big. So, you need to reduce the net size. The M7 doesn't really have enough heap ram to run larger nets.
Sir, how can I do this?

Re: nn_cifar10

Posted: Wed Jan 09, 2019 2:12 pm
by MANASH
iabdalkader wrote:
Wed Jan 09, 2019 12:12 pm
I don't think cifar10 works on the F7, try cifar10_fast
Okay sir, I am trying..

Re: nn_cifar10

Posted: Wed Jan 09, 2019 2:20 pm
by MANASH
Hello sir,
Can I make a custom dataset in .network extension with images..?

Re: nn_cifar10

Posted: Wed Jan 09, 2019 2:27 pm
by kwagyeman
Yes, please read the guide linked to above in a previous post. It's quite detailed.