Coder Social home page Coder Social logo

Comments (6)

RicardoCostaCMD avatar RicardoCostaCMD commented on July 16, 2024 1

I realized that there are several parameters to adjust, such as the outputs the firmware and maybe it is interesting to say, (at least for me because all the models I trained gave a problem because the kmodel output is always greater than 3mb) anyway, I think it is interesting say that:

Step 1 - Use the minimum firmware with the latest ide with v4 support to use in Maixpy ​​or without ide directly in the terminal (I couldn't see the output in the terminal but maybe it is from the script, I will study it yet).
Step 2 - The script for v4 that is here in your example scripts works
Step 3 - But it only works for sd card loading (all models I trained gave more than 3mb)
Step 4 - Between tests always remember to press the reset button
Step 5 - When training, it is easier to use Roboflow.com to resize the images and store them.

Great job, I used transferlearning too and I'm delivering a great job to my college in Brazil

from axelerate.

RicardoCostaCMD avatar RicardoCostaCMD commented on July 16, 2024 1

Eu e meus colegas de equipe trabalhamos em dois projetos usando MobileNet1_0 em 2 modelos, um era classificação e o outro era detecção de objetos. Eram ajustes apertados e tivemos que usar o maixpy_v0.6.2_41_g02d12688e_minimum_with_kmodel_v4_supportfirmware customizado para fazê-lo funcionar.

A classificação de objetos foi apenas um teste básico, provavelmente mais de 150 imagens, mas a classificação estávamos usando quase 2.000 imagens e funcionou bem.

Salve irmão

  • HAHAHA adorei o Salve irmão

I also used this with the ide, it worked well here, I used a pre-trained network to improve the performance with 430 images, maybe I should increase the bank or not because I will already deliver this work.

from axelerate.

AIWintermuteAI avatar AIWintermuteAI commented on July 16, 2024

Use the minimum firmware with the latest ide with v4 support to use in Maixpy ​​or without ide directly in the terminal (I couldn't see the output in the terminal but maybe it is from the script, I will study it yet).

Yes. I normally build firmware myself, with kmodelv4 support, IDE and optionally ulab/video. It is ~1.6 Mb in size.

The script for v4 that is here in your example scripts works

Yes. aXeleRate uses nncase v0.2.0-beta4, which outputs kmodelv4

But it only works for sd card loading (all models I trained gave more than 3mb)

If you plan to use Micropython firmware, you should use MobileNet2_5, MobileNet5_0,, MobileNet7_5 or Tiny Yolo backends. You probably have used MobileNet1_0, which is too large to fit in memory IF Micropython is used. MobileNet1_0 can be used if you're writing C code for K210.

Between tests always remember to press the reset button

Yes.

When training, it is easier to use Roboflow.com to resize the images and store them.

Not sure why. aXeleRate automatically resizes and even augments the images.

from axelerate.

AIWintermuteAI avatar AIWintermuteAI commented on July 16, 2024

Anyways, it should work with latest version of Micropython firmware with kmodel v4 support.
The memory needed to run the model depends on backend chosen.

Does it answer your question?

from axelerate.

RicardoCostaCMD avatar RicardoCostaCMD commented on July 16, 2024

Perfectly.

I will change the backend, Thanks

from axelerate.

arthurkafer avatar arthurkafer commented on July 16, 2024

Me and my teammates worked on two projects using MobileNet1_0 on 2 models, one was classification and the other was object detection. These were tight fits, and we had to use the maixpy_v0.6.2_41_g02d12688e_minimum_with_kmodel_v4_support custom firmware to make it work.

The object classification one was just a basic test, probably 150+ images, but the classification one we were using almost 2000 images, and it worked fine.

Salve irmão

from axelerate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.