Search found 18 matches

by uraibeef
Sat Apr 18, 2020 6:51 pm
Forum: Technical Discussion
Topic: Why my model .network work not good?
Replies: 5
Views: 940

Re: Why my model .network work not good?

but testing set have work i'm confuse
by uraibeef
Sat Apr 18, 2020 6:12 pm
Forum: Technical Discussion
Topic: Why my model .network work not good?
Replies: 5
Views: 940

Re: Why my model .network work not good?

i edit my model follow this 1.Snap my dataset from openmv about 5 pictures per class (0-9) with 80x60 resolution 2.Augmentation own dataset into 400 pictures per class about (4,000 of all classes) 3.Train my model using smile model architecture from your guide 4.Test my model and got accuracy about ...
by uraibeef
Fri Apr 17, 2020 9:16 am
Forum: Technical Discussion
Topic: Why my model .network work not good?
Replies: 5
Views: 940

Why my model .network work not good?

so i make some .network model with my own dataset (number 0-9) and i use the model architecture from 'smile_train_test.prototxt' and then i train and test with accuracy 95+%, i quantization and convert it to .network model and deploy to OpenMV H7 but.. when i try to use it. it can't detect anything ...
by uraibeef
Wed Mar 25, 2020 1:07 pm
Forum: Technical Discussion
Topic: Memory Error, out of fast Frame Buffer Stack - H7
Replies: 7
Views: 2177

Re: Memory Error, out of fast Frame Buffer Stack - H7

Hi, you need to install the latest firmware to run that model. Which... might not have been released yet. If you can compile the firmware for the H7 and install it you should be good to go. https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/micro/kernels/all_ops_resolver.cc#L21 We...
by uraibeef
Tue Mar 17, 2020 8:46 am
Forum: Technical Discussion
Topic: Can't use Tensorflow-Lite for OpenMV
Replies: 49
Views: 6178

Can't use Tensorflow-Lite for OpenMV

i try to build a lot of model base on tflite for OpenMV but it show error " OSError: Didn't find op for builtin opcode 'XXX' version'2' " [XXX mean any operation in https://github.com/openmv/tensorflow/blob/openmv/tensorflow/lite/micro/kernels/all_ops_resolver.cc] what should i do? and if i can't us...
by uraibeef
Tue Mar 17, 2020 2:49 am
Forum: Technical Discussion
Topic: Memory Error, out of fast Frame Buffer Stack - H7
Replies: 7
Views: 2177

Re: Memory Error, out of fast Frame Buffer Stack - H7

It doesn't even work on the H7 Plus anymore. Google broke Mobilenet support with their recent updates to TensorFlow. We are waiting for a fix. omg.. really? what should i do if i want to train a model, convert to .tflite and deploy on OpenMV. now i used this model https://tfhub.dev/google/imagenet/...
by uraibeef
Tue Mar 17, 2020 2:44 am
Forum: Technical Discussion
Topic: Memory Error, out of fast Frame Buffer Stack - H7
Replies: 7
Views: 2177

Re: Memory Error, out of fast Frame Buffer Stack - H7

iabdalkader wrote:
Mon Mar 16, 2020 8:47 pm
Hi, the mobilenet example loads the network to memory and only works on the H7-Plus (with external SDRAM).
thank you, i'm missing to read the comment on top of the example code
by uraibeef
Mon Mar 16, 2020 5:39 pm
Forum: Technical Discussion
Topic: Memory Error, out of fast Frame Buffer Stack - H7
Replies: 7
Views: 2177

Memory Error, out of fast Frame Buffer Stack - H7

i'm going to run machine learning example ' TensorFlow Lite Mobilenet V1 Example ' on OpenMV H7 and then it show up an error 'MemoryError: Out of fast Frame Buffer Stack Memory! Please reduce the resolution of the image you are running this algorithm on to bypass this issue!' but i'm not edit anythi...
by uraibeef
Mon Nov 25, 2019 1:50 am
Forum: Technical Discussion
Topic: Can use OCR model on OpenMV?
Replies: 2
Views: 636

Re: Can use OCR model on OpenMV?

kwagyeman wrote:
Sun Nov 24, 2019 10:45 am
You have to fit the model in SRAM on the OpenMV Cam H7. This means the model cannot be too big. If it fits then it should work.
thank you very much kwagyeman, i will try this
by uraibeef
Sun Nov 24, 2019 4:50 am
Forum: Technical Discussion
Topic: I have a problem on Memory?
Replies: 1
Views: 420

I have a problem on Memory?

i got this error while running tflite model test
'MemoryError: Out of fast Frame Buffer Stack Memory! Please reduce the resolution of the image you are running this algorithm on to bypass this issue!'
how should i do?
i try to reduce framesize and set_windowing but it not work
thank you
by uraibeef
Sun Nov 24, 2019 3:37 am
Forum: Technical Discussion
Topic: Can use OCR model on OpenMV?
Replies: 2
Views: 636

Can use OCR model on OpenMV?

in new firmware of OpenMV that support TFlite , i want to know can it used with OCR Model?
thank you
by uraibeef
Thu Oct 24, 2019 6:13 am
Forum: Technical Discussion
Topic: Problem with nn_quantizer.py
Replies: 1
Views: 507

Problem with nn_quantizer.py

hello, i have a problem when i try to run nn_quantizer.py follow this article : https://developer.arm.com/solutions/machine-learning-on-arm/developer-material/how-to-guides/deploying-a-caffe-model-on-openmv-using-cmsis-nn/quantize-the-model the error message is 'RuntimeError: Could not open file rep...
by uraibeef
Tue Aug 06, 2019 8:49 am
Forum: Technical Discussion
Topic: How to build .network file?
Replies: 1
Views: 1922

How to build .network file?

Hello everyone, Can you tell me how to build .network file for OpenMV, I can't find any tutorial from internet and i don't know how to do that.
i want to create some model on Tensorflow-lite, convert it into .network model and download to Openmv sd card.
Thanks you for your answer
by uraibeef
Thu May 02, 2019 1:44 am
Forum: Project Discussion
Topic: How to convert model.h5 to model.network for OpenMV
Replies: 9
Views: 8645

Re: How to convert model.h5 to model.network for OpenMV

@kwagyeman, Is this the git you mean?
https://github.com/openmv/tensorflow-lib

And if it's yes, How can I use it? Do you have a example to use?
by uraibeef
Mon Apr 29, 2019 12:22 pm
Forum: Project Discussion
Topic: How to convert model.h5 to model.network for OpenMV
Replies: 9
Views: 8645

Re: How to convert model.h5 to model.network for OpenMV

Hi, I'm about to get tensorflow lite running on the OpenMV Cam. I'm aiming to get the PR done for this in the next 3 days or so. Once I do that you can take any tensor flow model and run it on the M7/H7. Tensorflow will only support depthwise convolutions and fully connected however. So, you want t...
by uraibeef
Sun Apr 28, 2019 6:04 am
Forum: Project Discussion
Topic: How to convert model.h5 to model.network for OpenMV
Replies: 9
Views: 8645

How to convert model.h5 to model.network for OpenMV

I want to convert my images classification model (model.h5) from keras to .network type and deploy it to the OpenMV M7

(My model is used to classify A-Z, 0-9 on OpenMV)

What should I do?

thank you very much

Go to advanced search