Giter VIP home page Giter VIP logo

Comments (4)

shiffman avatar shiffman commented on May 26, 2024

Hi @hpssjellis yes, this is a wonderful idea! At the moment, the project is undergoing a rebuild in order to refine the models and update all the dependencies. There is a team of students at NYU in NY and also NYU Shanghai that are collaborating this summer on this work. This work is happening in this repo at the moment:

https://github.com/ml5js/ml5-next-gen

I think this would be a wonderful addition to the project, do you see it requiring new features in m5.js itself or is it more about providing an example with webSerial? @yining1023 may also be interested as she has taught a class around ML + physical computing.

from ml5-next-gen.

hpssjellis avatar hpssjellis commented on May 26, 2024

Thanks @shiffman for replying. I will be presenting my findings at an education conference in Italy https://indico.ictp.it/event/10185 July 3-7, 2023. I am a part of tinyML4D - tinyml.seas.harvard.edu/team bringing ML to university students in developing countries (Look for me Jeremy Ellis, the only high school teacher in the group ). I have already met one of the p5js contributors @gohai in this thread who used my suggestions about polyfill (an android Pixel phone fallback) for webSerial to bring it to p5js.

Thanks for the link, my research about webSerial with machine learning such as edgeimpulse.com or huggingface is here. I will be working on vanilla Javascript files, but thought you could bring webSerial for microcontrollers with machine learning to a wider audience. Hopefully we can kind of work together.

from ml5-next-gen.

sproutleaf avatar sproutleaf commented on May 26, 2024

I'm transferring the issue to our new repo: https://github.com/ml5js/ml5-next-gen for more updated discussion and possible issue assignment.

from ml5-next-gen.

hpssjellis avatar hpssjellis commented on May 26, 2024

@shiffman and @sproutleaf now that it is the fall and students are back, is anyone interested in merging TensorflowJS with Arduinos? I have basically done all the work, I just need someone to make it compatible with the p5/ml5 community.

The steps are:

1. TinyMLjs. This webpage uses WebSerial to connect an Arduino (Nano33BleSense) to a webpage and then train a tensorflowJS model and export the model.json and .bin shard files.

2. Gitpod tfjs-converter. This gitpod (docker in the browser) Uses tensorflowjs-converter to convert the model.json file to keras then tflite and finally to a c.header text readable file to load onto an Arduino

3. Arduino examples. This repository shows multiple arduino sketches that work with the c.header file (Note: This step I am working on as my working code has been deprecated by the latest arduino tensorflowlite)

None of this is easy or has been well documented but I am willing to help someone wanting to use the ideas for ml5. I will continue to improve my methods. Bes way to reach me is probably to continue this issues thread and add me @hpssjellis .

from ml5-next-gen.

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.