Page 1 of 1

chars74k on M7

Posted: Mon May 06, 2019 2:43 am
by ericchu923
Hello,I use M7 board for Machine Learning.
I followed this direction to train smaller network:
https://github.com/kwagyeman/openmv/tre ... ml/cmsisnn
trained network size is 36KB.
when I train my network,accuracy is 0.874359:
Image
but on the M7,it seems not good on it:
Image
I only adjust conv1 and conv2 's num_output from 32 to 16.
Here's my all files for this network(on Google Drive):
https://drive.google.com/drive/folders/ ... sp=sharing
So my question is:how should I improve my network accuracy?
Any opinions are welcome,thank you.

Re: chars74k on M7

Posted: Mon May 06, 2019 11:53 am
by kwagyeman
Hi, I'm working on a tutorial showing how to run tensor flow models on the system. I hope to be done later this week.

As for the accuracy. Please understand the network needs the character by itself. You clearly have another character in the image. The network literally only learns what it sees in the training dataset. You cannot have an image with other noise there.

Re: chars74k on M7

Posted: Mon May 06, 2019 2:33 pm
by iabdalkader
Also note that one image is not enough to test the accuracy, try a 100 or more.

Re: chars74k on M7

Posted: Tue May 07, 2019 2:34 am
by ericchu923
kwagyeman wrote:
Mon May 06, 2019 11:53 am
Hi, I'm working on a tutorial showing how to run tensor flow models on the system. I hope to be done later this week.

As for the accuracy. Please understand the network needs the character by itself. You clearly have another character in the image. The network literally only learns what it sees in the training dataset. You cannot have an image with other noise there.
iabdalkader wrote:
Mon May 06, 2019 2:33 pm
Also note that one image is not enough to test the accuracy, try a 100 or more.
Thank you for your quick reply.
I'll try dataset's image for my network.
And I look forward to Mr.kwagyeman's TenserFlow tutorial.
If there are any problems, I will ask again.
Anyway,thanks for your help. :)