nn_cifar10

OpenMV related project discussion.
elight-spm
Posts: 4
Joined: Mon Dec 24, 2018 12:05 pm

nn_cifar10

Postby elight-spm » Tue Jan 08, 2019 3:34 pm

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.
Attachments
nn_cifar10.py
(1.36 KiB) Downloaded 50 times
WhatsApp Image 2019-01-09 at 1.12.35 AM (2).jpeg
WhatsApp Image 2019-01-09 at 1.12.35 AM (1).jpeg
WhatsApp Image 2019-01-09 at 1.12.34 AM.jpeg
User avatar
iabdalkader
Posts: 690
Joined: Sun May 24, 2015 3:53 pm

Re: nn_cifar10

Postby iabdalkader » 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).
MANASH
Posts: 14
Joined: Tue Dec 25, 2018 4:36 pm

Re: nn_cifar10

Postby MANASH » Wed Jan 09, 2019 2:48 am

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?
User avatar
kwagyeman
Posts: 2797
Joined: Sun May 24, 2015 2:10 pm

Re: nn_cifar10

Postby kwagyeman » Wed Jan 09, 2019 3:04 am

Nyamekye,
elight-spm
Posts: 4
Joined: Mon Dec 24, 2018 12:05 pm

Re: nn_cifar10

Postby elight-spm » Wed Jan 09, 2019 5:56 am

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
Attachments
WhatsApp Image 2019-01-09 at 4.15.47 PM.jpeg
User avatar
kwagyeman
Posts: 2797
Joined: Sun May 24, 2015 2:10 pm

Re: nn_cifar10

Postby kwagyeman » 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.
Nyamekye,
User avatar
iabdalkader
Posts: 690
Joined: Sun May 24, 2015 3:53 pm

Re: nn_cifar10

Postby iabdalkader » Wed Jan 09, 2019 12:12 pm

I don't think cifar10 works on the F7, try cifar10_fast
MANASH
Posts: 14
Joined: Tue Dec 25, 2018 4:36 pm

Re: nn_cifar10

Postby MANASH » Wed Jan 09, 2019 2:11 pm

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?
MANASH
Posts: 14
Joined: Tue Dec 25, 2018 4:36 pm

Re: nn_cifar10

Postby MANASH » Wed Jan 09, 2019 2:12 pm

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..
MANASH
Posts: 14
Joined: Tue Dec 25, 2018 4:36 pm

Re: nn_cifar10

Postby MANASH » Wed Jan 09, 2019 2:20 pm

Hello sir,
Can I make a custom dataset in .network extension with images..?
User avatar
kwagyeman
Posts: 2797
Joined: Sun May 24, 2015 2:10 pm

Re: nn_cifar10

Postby kwagyeman » Wed Jan 09, 2019 2:27 pm

Yes, please read the guide linked to above in a previous post. It's quite detailed.
Nyamekye,

Return to “Project Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests